fix bare elifs to rebuild
This commit is contained in:
parent
6650e12486
commit
319119304f
12
opensm-3.2.1-elif.patch
Normal file
12
opensm-3.2.1-elif.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -ru opensm-3.2.1.orig/include/vendor/osm_vendor.h opensm-3.2.1/include/vendor/osm_vendor.h
|
||||||
|
--- opensm-3.2.1.orig/include/vendor/osm_vendor.h 2009-03-06 10:34:06.000000000 +0000
|
||||||
|
+++ opensm-3.2.1/include/vendor/osm_vendor.h 2009-03-06 10:35:10.000000000 +0000
|
||||||
|
@@ -70,7 +70,7 @@
|
||||||
|
#include <vendor/osm_vendor_ibumad.h>
|
||||||
|
#elif defined( OSM_VENDOR_INTF_AL )
|
||||||
|
#include <vendor/osm_vendor_al.h>
|
||||||
|
-#elif
|
||||||
|
+#else
|
||||||
|
#error No MAD Interface selected!
|
||||||
|
#error Choose an interface in osm_vendor_select.h
|
||||||
|
#endif
|
@ -1,6 +1,6 @@
|
|||||||
Name: opensm
|
Name: opensm
|
||||||
Version: 3.2.1
|
Version: 3.2.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: OpenIB InfiniBand Subnet Manager and management utilities
|
Summary: OpenIB InfiniBand Subnet Manager and management utilities
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: GPLv2 or BSD
|
License: GPLv2 or BSD
|
||||||
@ -10,6 +10,7 @@ Source1: opensm.conf
|
|||||||
Source2: opensm.logrotate
|
Source2: opensm.logrotate
|
||||||
Source3: opensm.initd
|
Source3: opensm.initd
|
||||||
Patch0: opensm-3.2.1-rpath.patch
|
Patch0: opensm-3.2.1-rpath.patch
|
||||||
|
Patch1: opensm-3.2.1-elif.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: libibmad-devel >= 1.2.0, libtool, bison, flex, byacc
|
BuildRequires: libibmad-devel >= 1.2.0, libtool, bison, flex, byacc
|
||||||
Requires: %{name}-libs = %{version}-%{release}, logrotate, rdma
|
Requires: %{name}-libs = %{version}-%{release}, logrotate, rdma
|
||||||
@ -47,6 +48,7 @@ Static version of opensm libraries
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .rpath
|
%patch0 -p1 -b .rpath
|
||||||
|
%patch1 -p1 -b .elif
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -108,6 +110,9 @@ fi
|
|||||||
%{_libdir}/lib*.a
|
%{_libdir}/lib*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 06 2009 Caolán McNamara <caolanm@redhat.com> - 3.2.1-3
|
||||||
|
- fix bare elifs to rebuild
|
||||||
|
|
||||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user