[qperf] Build on ARM, modernise spec

Peter Robinson pbrobinson at fedoraproject.org
Mon Feb 18 15:03:00 UTC 2013


commit 6e9a4b194f183a57014166d44515e68a5b3c397c
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Mon Feb 18 15:02:52 2013 +0000

    Build on ARM, modernise spec

 qperf.spec |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/qperf.spec b/qperf.spec
index 270ef92..106bec8 100644
--- a/qperf.spec
+++ b/qperf.spec
@@ -1,16 +1,18 @@
 Name:           qperf
 Summary:        Measure socket and RDMA performance
 Version:        0.4.6
-Release:        7%{?dist}
+Release:        8%{?dist}
 License:        GPLv2 or BSD
 Group:          Networking/Diagnostic
+Url:            http://www.openfabrics.org
+
 Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.1.gb81434e.tar.gz
 Patch0: qperf-0.4.4-noxrc.patch
 Patch1: qperf-0.4.6-pf-define.patch
-Url:            http://www.openfabrics.org
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildRequires:  libibverbs-devel >= 1.1.2-4, librdmacm-devel >= 1.0.8-5
-ExclusiveArch:  %{ix86} x86_64 ia64 ppc ppc64
+ExclusiveArch:  %{ix86} x86_64 ia64 ppc ppc64 %{arm}
+
 %description
 Measure socket and RDMA performance.
 
@@ -22,22 +24,20 @@ Measure socket and RDMA performance.
 %build
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 %configure
-%{__make}
+make V=1
 
 %install
-rm -rf %{buildroot}
-%{__make} DESTDIR=%{buildroot} install
-
-%clean
-rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install
 
 %files
-%defattr(-, root, root)
 %doc COPYING
 %_bindir/qperf
 %_mandir/man1/qperf.1*
 
 %changelog
+* Mon Feb 18 2013 Peter Robinson <pbrobinson at fedoraproject.org> 0.4.6-8
+- Build on ARM, modernise spec
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.6-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list