]> git.openfabrics.org - ~shefty/libibverbs.git/commitdiff
Update spec file from 1.0 branch
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 6 Apr 2006 16:42:22 +0000 (16:42 +0000)
committerRoland Dreier <rolandd@cisco.com>
Thu, 9 Nov 2006 19:36:00 +0000 (11:36 -0800)
libibverbs.spec.in

index 70eb576b231d81b55b8482ff680b177c64e215cc..31495d26d1b999f7fc253cf0510a37abf53658d4 100644 (file)
@@ -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.