[libmthca] Improve valgrind usage based upon where it's available
Doug Ledford
dledford at fedoraproject.org
Wed Jul 20 18:27:59 UTC 2011
commit 9970752e15c79d32e17df6428c9fcc200fd6d36d
Author: Doug Ledford <dledford at redhat.com>
Date: Wed Jul 20 14:27:43 2011 -0400
Improve valgrind usage based upon where it's available
Signed-off-by: Doug Ledford <dledford at redhat.com>
libmthca.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/libmthca.spec b/libmthca.spec
index d57fe1e..4979065 100644
--- a/libmthca.spec
+++ b/libmthca.spec
@@ -1,6 +1,6 @@
Name: libmthca
Version: 1.0.6
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Mellanox InfiniBand HCA Userspace Driver
Provides: libibverbs-driver.%{_arch}
Group: System Environment/Libraries
@@ -11,7 +11,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Provides: %{name}-devel = %{version}-%{release}
ExcludeArch: s390 s390x
BuildRequires: libibverbs-devel >= 1.1.5
-%ifnarch ia64
+%ifnarch ia64 %{sparc} %{arm}
BuildRequires: valgrind-devel
%endif
@@ -35,7 +35,7 @@ application, which may be useful for debugging.
%setup -q
%build
-%ifnarch ia64
+%ifnarch ia64 %{sparc} %{arm}
%configure --with-valgrind
%else
%configure
@@ -62,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libmthca.a
%changelog
+* Wed Jul 20 2011 Doug Ledford <dledford at redhat.com> - 1.0.6-4
+- Improve the valgrind usage based upon where it's available
+
* Wed Jul 20 2011 Doug Ledford <dledford at redhat.com> - 1.0.6-3
- Undo pseudoprovide workaround as it's no longer needed due to
a change in the libibverbs requirements
More information about the scm-commits
mailing list