[libcxgb3] Update to latest upstream source Enable valgrind support (where available)

Doug Ledford dledford at fedoraproject.org
Wed Jul 20 21:59:45 UTC 2011


commit dd81e26ced35ac0a5acd207a6ea10cfb183766cd
Author: Doug Ledford <dledford at redhat.com>
Date:   Wed Jul 20 17:59:29 2011 -0400

    Update to latest upstream source
    Enable valgrind support (where available)
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>

 .gitignore                     |    1 +
 libcxgb3-1.2.5-verbs-api.patch |  108 ----------------------------------------
 libcxgb3.spec                  |   17 ++++--
 sources                        |    2 +-
 4 files changed, 13 insertions(+), 115 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 67b1980..be0b803 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 libcxgb3-1.2.1.tar.gz
 libcxgb3-1.2.5.tar.gz
+libcxgb3-1.3.0.tar.gz
diff --git a/libcxgb3.spec b/libcxgb3.spec
index cb7e18e..e53b248 100644
--- a/libcxgb3.spec
+++ b/libcxgb3.spec
@@ -1,18 +1,20 @@
 Name: libcxgb3
-Version: 1.2.5
-Release: 5%{?dist}
+Version: 1.3.0
+Release: 1%{?dist}
 Summary: Chelsio T3 iWARP HCA Userspace Driver
 Group: System Environment/Libraries
 License: GPLv2 or BSD
 Url: http://www.openfabrics.org/
 Source: http://www.openfabrics.org/downloads/cxgb3/%{name}-%{version}.tar.gz
 Source1: libcxgb3-modprobe.conf
-Patch0: libcxgb3-1.2.5-verbs-api.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: libibverbs-devel >= 1.1.3, libtool
+BuildRequires: libibverbs-devel > 1.1.4, libtool
+%ifnarch ia64 %{sparc} %{arm}
+BuildRequires: valgrind-devel
+%endif
 Obsoletes: %{name}-devel
 ExcludeArch: s390 s390x
-Provides: libibverbs-driver
+Provides: libibverbs-driver.%{_arch}
 %description
 Userspace hardware driver for use with the libibverbs InfiniBand/iWARP verbs
 library.  This driver enables Chelsio iWARP capable ethernet devices.
@@ -26,10 +28,13 @@ Static version of libcxgb3 that may be linked directly to an application.
 
 %prep
 %setup -q
-%patch0 -p1 -b .api
 
 %build
+%ifnarch ia64 %{sparc} %{arm}
+%configure --with-valgrind
+%else
 %configure
+%endif
 %{__make} %{?_smp_mflags}
 
 %install
diff --git a/sources b/sources
index e77e222..0d53c13 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ed2eaf99bc7cce401dd0549505febdd1  libcxgb3-1.2.5.tar.gz
+40a8c9013de84c4a662cf451a4b5a534  libcxgb3-1.3.0.tar.gz


More information about the scm-commits mailing list