From 1fb1c3a3742ddd0af64556e9eab2810371b4231f Mon Sep 17 00:00:00 2001 From: Doug Ledford Date: Wed, 17 Jul 2013 18:57:11 -0400 Subject: [PATCH] Update to latest upstream release Signed-off-by: Doug Ledford --- .gitignore | 2 ++ perftest.spec | 31 ++++++++++++------------------- sources | 2 +- 3 files changed, 15 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 1866a46..1971c5f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ noarch/ .build*.log /perftest-1.3.0/ /perftest-1.3.0-0.58.g8f82435.tar.gz +/perftest-2.0-0.52.g49ac91c.tar.gz +/perftest-2.0/ diff --git a/perftest.spec b/perftest.spec index 1af58b0..ef10bf7 100644 --- a/perftest.spec +++ b/perftest.spec @@ -1,16 +1,16 @@ Name: perftest Summary: IB Performance Tests -Version: 1.3.0 -Release: 4%{?dist} +Version: 2.0 +Release: 1%{?dist} License: GPLv2 or BSD Group: Productivity/Networking/Diagnostic -Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.58.g8f82435.tar.gz +Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.52.g49ac91c.tar.gz Url: http://www.openfabrics.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libibverbs-devel > 1.1.4, librdmacm-devel > 1.0.14 BuildRequires: libibumad-devel > 1.3.6 Obsoletes: openib-perftest < 1.3 -ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 +ExcludeArch: s390 s390x %description Perftest is a collection of simple test programs designed to utilize @@ -23,24 +23,14 @@ RDMA networks. %build export CFLAGS="$RPM_OPT_FLAGS" -make -chmod -x runme +%configure +make %{?_smp_mflags} %install rm -rf %{buildroot} -install -D -m 0755 rdma_lat %{buildroot}%{_bindir}/rdma_lat -install -D -m 0755 rdma_bw %{buildroot}%{_bindir}/rdma_bw -install -D -m 0755 ib_write_lat %{buildroot}%{_bindir}/ib_write_lat -install -D -m 0755 ib_write_bw %{buildroot}%{_bindir}/ib_write_bw -install -D -m 0755 ib_send_lat %{buildroot}%{_bindir}/ib_send_lat -install -D -m 0755 ib_send_bw %{buildroot}%{_bindir}/ib_send_bw -install -D -m 0755 ib_read_lat %{buildroot}%{_bindir}/ib_read_lat -install -D -m 0755 ib_read_bw %{buildroot}%{_bindir}/ib_read_bw -install -D -m 0755 ib_write_bw_postlist %{buildroot}%{_bindir}/ib_write_bw_postlist -install -D -m 0755 ib_clock_test %{buildroot}%{_bindir}/ib_clock_test - -%clean -rm -rf %{buildroot} +for file in ib_{atomic,read,send,write}_{lat,bw}; do + install -D -m 0755 $file %{buildroot}%{_bindir}/$file +done %files %defattr(-, root, root) @@ -48,6 +38,9 @@ rm -rf %{buildroot} %_bindir/* %changelog +* Wed Jul 17 2013 Doug Ledford - 2.0-1 +- Update to latest upstream version + * Thu Feb 14 2013 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index c6540ec..8974e7a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5ac59f07e39ffe9726ceb10c3e32ba8e perftest-1.3.0-0.58.g8f82435.tar.gz +59583944a45dcc25c8af4298e17fe057 perftest-2.0-0.52.g49ac91c.tar.gz