From: Bryan O'Sullivan Date: Thu, 6 Apr 2006 16:42:22 +0000 (+0000) Subject: Update spec file from 1.0 branch X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=e83c24e0fda3d67b1e378865e404b427648219ce;p=~shefty%2Flibibverbs.git Update spec file from 1.0 branch --- 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.