[whatsup/f14/master] - no InfiniBand on s390(x)
Dan Horák
sharkcz at fedoraproject.org
Thu Sep 30 19:59:45 UTC 2010
commit 7a329a0bc84a68a4371c96e1a5d2ef1e5d23648b
Author: Dan Horák <dan at danny.cz>
Date: Thu Sep 30 21:59:40 2010 +0200
- no InfiniBand on s390(x)
whatsup.spec | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/whatsup.spec b/whatsup.spec
index 03d93e3..001c22b 100644
--- a/whatsup.spec
+++ b/whatsup.spec
@@ -1,9 +1,15 @@
%global libname libnodeupdown
+%ifnarch s390 s390x
+%global with_ib 1
+%else
+%global with_ib 0
+%endif
+
Summary: Node up/down detection utility
Name: whatsup
Version: 1.10
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: Applications/Communications
License: GPLv2+
URL: https://computing.llnl.gov/linux/whatsup.html
@@ -45,6 +51,7 @@ BuildRequires: ganglia-devel
%description -n %{libname}-backend-ganglia
Ganglia backend module for %{libname}
+%if %{with_ib}
%package -n %{libname}-backend-openib
Summary: Openib backend for %{libname}
Group: Applications/Communications
@@ -52,6 +59,7 @@ BuildRequires: opensm-devel, libibcommon-devel, libibumad-devel
Requires: %{libname} = %{version}-%{release}
%description -n %{libname}-backend-openib
openib backend module for %{libname}
+%endif
%package -n %{libname}-backend-pingd
Summary: Pingd backend for %{libname}
@@ -173,10 +181,12 @@ fi
%doc COPYING
%{_libdir}/nodeupdown/nodeupdown_backend_ganglia.so
+%if %{with_ib}
%files -n %{libname}-backend-openib
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/nodeupdown/nodeupdown_backend_openib.so
+%endif
%files -n %{libname}-backend-pingd
%defattr(-,root,root,-)
@@ -191,6 +201,9 @@ fi
%changelog
+* Thu Sep 30 2010 Dan Horák <dan[at]danny.cz> 1.10-2
+- no InfiniBand on s390(x)
+
* Thu Jun 24 2010 Ruben Kerkhof <ruben at rubenkerkhof.com> 1.10-1
- Upstream released new version
More information about the scm-commits
mailing list