aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@pathscale.com>2006-04-06 16:42:22 +0000
committerRoland Dreier <rolandd@cisco.com>2006-11-09 11:36:00 -0800
commite83c24e0fda3d67b1e378865e404b427648219ce (patch)
tree965724f555e1e69822af5ee708b26ce48bec57c3
parent9c18bd888a82f4d9c6d1ffe90b5a308492da2a01 (diff)
downloadlibibverbs-e83c24e0fda3d67b1e378865e404b427648219ce.tar.gz
Update spec file from 1.0 branch
-rw-r--r--libibverbs.spec.in13
1 files changed, 7 insertions, 6 deletions
diff --git a/libibverbs.spec.in b/libibverbs.spec.in
index 70eb576..31495d2 100644
--- a/libibverbs.spec.in
+++ b/libibverbs.spec.in
@@ -1,19 +1,20 @@
# $Id$
-%define ver @VERSION@
+%define ver @VERSION@
+%define RELEASE 1
+%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
Name: libibverbs
Version: 1.0.3
-Release: 1%{?dist}
+Release: %rel%{?dist}
Summary: A library for direct userspace use of InfiniBand
-
Group: System Environment/Libraries
License: GPL/BSD
Url: http://openib.org/
-Source: http://openib.org/downloads/libibverbs-1.0.3.tar.gz
+Source: http://openib.org/downloads/libibverbs-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: sysfsutils-devel
+BuildRequires: %{_includedir}/sysfs/libsysfs.h
%description
libibverbs is a library that allows userspace processes to use
@@ -27,7 +28,7 @@ also be installed.
%package devel
Summary: Development files for the libibverbs library
Group: System Environment/Libraries
-Requires: %{name} = %{version}-%{release} sysfsutils-devel
+Requires: %{name} = %{version}-%{release} %{_includedir}/sysfs/libsysfs.h
%description devel
Static libraries and header files for the libibverbs verbs library.