rpms/libibverbs/devel .cvsignore, 1.8, 1.9 libibverbs.spec, 1.8, 1.9 sources, 1.8, 1.9

Roland Dreier (dreier) fedora-extras-commits at redhat.com
Wed Apr 4 23:31:02 UTC 2007


Author: dreier

Update of /cvs/extras/rpms/libibverbs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23129/devel

Modified Files:
	.cvsignore libibverbs.spec sources 
Log Message:



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libibverbs/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- .cvsignore	2 Nov 2006 04:47:04 -0000	1.8
+++ .cvsignore	4 Apr 2007 23:30:28 -0000	1.9
@@ -1 +1 @@
-libibverbs-1.0.4.tar.gz
+libibverbs-1.1-rc2.tar.gz


Index: libibverbs.spec
===================================================================
RCS file: /cvs/extras/rpms/libibverbs/devel/libibverbs.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- libibverbs.spec	2 Nov 2006 04:47:04 -0000	1.8
+++ libibverbs.spec	4 Apr 2007 23:30:28 -0000	1.9
@@ -1,19 +1,15 @@
-# $Id$
-
-%define ver      1.0.4
-
 Name: libibverbs
-Version: 1.0.4
-Release: 1%{?dist}
-Summary: A library for direct userspace use of InfiniBand
+Version: 1.1
+Release: 0.1.rc2%{?dist}
+Summary: A library for direct userspace use of InfiniBand hardware
 
 Group: System Environment/Libraries
 License: GPL/BSD
 Url: http://openib.org/
-Source: http://openib.org/downloads/libibverbs-1.0.4.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: %{_includedir}/sysfs/libsysfs.h
+Source: http://openib.org/downloads/libibverbs-1.1-rc2.tar.gz
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
 
 %description
 libibverbs is a library that allows userspace processes to use
@@ -27,10 +23,16 @@
 %package devel
 Summary: Development files for the libibverbs library
 Group: System Environment/Libraries
-Requires: %{name} = %{version}-%{release} %{_includedir}/sysfs/libsysfs.h
 
 %description devel
-Static libraries and header files for the libibverbs verbs library.
+Header files for the libibverbs library.
+
+%package devel-static
+Summary: Static development files for the libibverbs library
+Group: System Environment/Libraries
+
+%description devel-static
+Static libraries for the libibverbs library.
 
 %package utils
 Summary: Examples for the libibverbs library
@@ -42,7 +44,7 @@
 displays information about InfiniBand devices.
 
 %prep
-%setup -q -n %{name}-%{ver}
+%setup -q -n %{name}-1.1-rc2
 
 %build
 %configure
@@ -50,7 +52,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%makeinstall
+make DESTDIR=%{buildroot} install
 # remove unpackaged files from the buildroot
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
@@ -68,8 +70,12 @@
 %files devel
 %defattr(-,root,root,-)
 %{_libdir}/lib*.so
-%{_libdir}/*.a
 %{_includedir}/*
+%{_mandir}/man3/*
+
+%files devel-static
+%defattr(-,root,root,-)
+%{_libdir}/*.a
 
 %files utils
 %defattr(-,root,root,-)
@@ -77,6 +83,15 @@
 %{_mandir}/man1/*
 
 %changelog
+* Mon May 22 2006 Roland Dreier <rdreier at cisco.com> - 1.1-0.1.rc2
+- New upstream release
+- Remove dependency on libsysfs, since it is no longer used
+- Put section 3 manpages in devel package.
+- Spec file cleanups: remove unused ver macro, improve BuildRoot, add
+  Requires for /sbin/ldconfig, split static libraries into
+  devel-static package, and don't use makeinstall any more (all
+  suggested by Doug Ledford <dledford at redhat.com>).
+
 * Thu May  4 2006 Roland Dreier <rdreier at cisco.com> - 1.0.4-1
 - New upstream release
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libibverbs/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources	2 Nov 2006 04:47:04 -0000	1.8
+++ sources	4 Apr 2007 23:30:28 -0000	1.9
@@ -1 +1 @@
-f075cef91b9a1d3445c3859cb7880b2f  libibverbs-1.0.4.tar.gz
+387ab84c8d62bdda52e7da429f82b0ec  libibverbs-1.1-rc2.tar.gz




More information about the fedora-extras-commits mailing list