[libibverbs] Change pseudoprovide requirement to include arch so that we don't accidentally satisfy it with the w

Doug Ledford dledford at fedoraproject.org
Wed Jul 20 16:23:01 UTC 2011


commit 255ea94ef555e597f6b00f1aa486f33ccc390435
Author: Doug Ledford <dledford at redhat.com>
Date:   Wed Jul 20 12:22:46 2011 -0400

    Change pseudoprovide requirement to include arch so that we don't
    accidentally satisfy it with the wrong arch on multilib arches.
    Add a buildrequires for valgrind
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>

 libibverbs.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/libibverbs.spec b/libibverbs.spec
index 03a9f31..6e933b1 100644
--- a/libibverbs.spec
+++ b/libibverbs.spec
@@ -1,13 +1,14 @@
 Name: libibverbs
 Version: 1.1.5
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: A library for direct userspace use of RDMA (InfiniBand/iWARP) hardware
 Group: System Environment/Libraries
 License: GPLv2 or BSD
 Url: http://openfabrics.org/
 Source: http://openfabrics.org/downloads/verbs/libibverbs-%{version}.tar.gz
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-Requires: libibverbs-driver
+BuildRequires: valgrind-devel
+Requires: libibverbs-driver.%{_arch}
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 ExcludeArch: s390 s390x
@@ -91,8 +92,13 @@ rm -rf %{buildroot}
 %{_mandir}/man1/*
 
 %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
+
 * Wed Jul 20 2011 Doug Ledford <dledford at redhat.com> - 1.1.5-2
 - Fix rpath in binaries
+- Add valgrind support
 
 * Tue Jul 19 2011 Doug Ledford <dledford at redhat.com> - 1.1.5-1
 - Update to latest upstream release


More information about the scm-commits mailing list