[srptools] Enable building on ARM, modernise spec
Peter Robinson
pbrobinson at fedoraproject.org
Wed Jul 4 08:24:52 UTC 2012
commit e3e12295543c5a1ab46819b07339a14d7ab6d77e
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Wed Jul 4 09:24:50 2012 +0100
Enable building on ARM, modernise spec
srptools.spec | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/srptools.spec b/srptools.spec
index 6915750..078ba0e 100644
--- a/srptools.spec
+++ b/srptools.spec
@@ -1,15 +1,15 @@
Name: srptools
Version: 0.0.4
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Tools for using the InfiniBand SRP protocol devices
Group: System Environment/Base
License: GPLv2 or BSD
Url: http://www.openfabrics.org/
+
Source0: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-0.1.gce1f64c.tar.gz
Source1: srptools.init
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libibumad-devel, libibverbs-devel > 1.1.3
-ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64
+ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 %{arm}
Obsoletes: openib-srptools <= 0.0.6
%description
@@ -24,13 +24,9 @@ discover and use SCSI devices via the SCSI RDMA Protocol over InfiniBand.
make CFLAGS="$CFLAGS -fno-strict-aliasing" %{?_smp_mflags}
%install
-rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
install -p -m 755 -D %{SOURCE1} %{buildroot}%{_initrddir}/srpd
-%clean
-rm -rf %{buildroot}
-
%post
if [ $1 = 1 ]; then
/sbin/chkconfig --add srpd
@@ -54,6 +50,9 @@ fi
%doc README NEWS ChangeLog COPYING
%changelog
+* Wed Jul 4 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 0.0.4-14
+- Enable building on ARM, modernise spec
+
* Tue Apr 24 2012 Doug Ledford <dledford at redhat.com> - 0.0.4-13
- Further tweaks to LSB init script headers
- Add a %%post and %%preun scriptlets to add/remove the init script
More information about the scm-commits
mailing list