diff --git a/.gitignore b/.gitignore index aaeefae..0b38ecc 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ noarch/ .build*.log /perftest-2.*.tar.gz /perftest-2.*/ +/perftest-3.0-0.18.gb464d59.tar.gz diff --git a/perftest.spec b/perftest.spec index f70dddf..68788db 100644 --- a/perftest.spec +++ b/perftest.spec @@ -1,16 +1,17 @@ -Name: perftest -Summary: IB Performance Tests -Version: 2.2 -Release: 4%{?dist} -License: GPLv2 or BSD -Group: Productivity/Networking/Diagnostic -Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.17.g5eba807.tar.gz -Url: http://www.openfabrics.org - -BuildRequires: libibverbs-devel > 1.1.4, librdmacm-devel > 1.0.14 -BuildRequires: libibumad-devel > 1.3.6 -Obsoletes: openib-perftest < 1.3 -ExcludeArch: s390 s390x %{arm} +Name: perftest +Summary: IB Performance Tests +Version: 3.0 +Release: 1%{?dist} +License: GPLv2 or BSD +Group: Productivity/Networking/Diagnostic +Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.18.gb464d59.tar.gz +Url: http://www.openfabrics.org + +BuildRequires: libibverbs-devel >= 1.2.0 +BuildRequires: librdmacm-devel >= 1.0.21 +BuildRequires: libibumad-devel >= 1.3.10.2 +Obsoletes: openib-perftest < 1.3 +ExcludeArch: s390 s390x %{arm} %description Perftest is a collection of simple test programs designed to utilize @@ -20,22 +21,26 @@ RDMA networks. %prep %setup -q +find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';' %build -export CFLAGS="$RPM_OPT_FLAGS" %configure -make %{?_smp_mflags} +make %{?_smp_mflags} CFLAGS+="-fPIC -g -Wall -D_GNU_SOURCE -O3" %install -for file in ib_{atomic,read,send,write}_{lat,bw}; do +for file in ib_{atomic,read,send,write}_{lat,bw} raw_ethernet_{lat,bw}; do install -D -m 0755 $file %{buildroot}%{_bindir}/$file done %files -%doc README COPYING +%doc README +%license COPYING %_bindir/* %changelog +* Tue Mar 29 2016 Honggang Li - 3.0-1 +- Update to latest upstream + * Thu Feb 04 2016 Fedora Release Engineering - 2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 298a535..4063754 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9c99334fd110d1b833b58b66bb385f98 perftest-2.2-0.17.g5eba807.tar.gz +ba6e07afca1fe95d5cdeed6c31ebb31e perftest-3.0-0.18.gb464d59.tar.gz