[libibverbs] Change which package actually holds the psuedorequires for the libibverbs-driver.%{arch} to one that

Doug Ledford dledford at fedoraproject.org
Wed Jul 20 16:29:26 UTC 2011


commit f3209201e85198148193aed9c69bde1387fe81a6
Author: Doug Ledford <dledford at redhat.com>
Date:   Wed Jul 20 12:28:18 2011 -0400

    Change which package actually holds the psuedorequires for the
    libibverbs-driver.%{arch} to one that isn't installed by default
    during builds so that the base libibverbs package does not need
    a precompiled driver in order to be built through the build
    system.
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>

 libibverbs.spec |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libibverbs.spec b/libibverbs.spec
index 6e933b1..8f876bf 100644
--- a/libibverbs.spec
+++ b/libibverbs.spec
@@ -8,7 +8,6 @@ Url: http://openfabrics.org/
 Source: http://openfabrics.org/downloads/verbs/libibverbs-%{version}.tar.gz
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildRequires: valgrind-devel
-Requires: libibverbs-driver.%{_arch}
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 ExcludeArch: s390 s390x
@@ -43,6 +42,7 @@ Static libraries for the libibverbs library.
 Summary: Examples for the libibverbs library
 Group: System Environment/Libraries
 Requires: %{name} = %{version}-%{release}
+Requires: libibverbs-driver.%{_arch}
 
 %description utils
 Useful libibverbs1 example programs such as ibv_devinfo, which
@@ -93,8 +93,9 @@ rm -rf %{buildroot}
 
 %changelog
 * Wed Jul 20 2011 Doug Ledford <dledford at redhat.com> - 1.1.5-3
-- Change pseudoprovide to include arch so we won't accidentally satisfy
-  the provide with a wrong arch package on multilib arches
+- Change which package actually requires the driver psuedoprovide
+  so that a driver library is not needed in order to build the
+  base libibverbs package in the build system
 
 * Wed Jul 20 2011 Doug Ledford <dledford at redhat.com> - 1.1.5-2
 - Fix rpath in binaries


More information about the scm-commits mailing list