[qpid-cpp/f14/master] - don't build with InfiniBand support on s390(x) - don't limit architectures in Fedora

Dan Horák sharkcz at fedoraproject.org
Thu Sep 30 11:05:24 UTC 2010


commit 45b1abf7298e67502756d4d065e37537f87b4c58
Author: Dan Horák <dan at danny.cz>
Date:   Thu Sep 30 13:04:00 2010 +0200

    - don't build with InfiniBand support on s390(x)
    - don't limit architectures in Fedora

 qpid-cpp.spec |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/qpid-cpp.spec b/qpid-cpp.spec
index b593cf9..ebf9e07 100644
--- a/qpid-cpp.spec
+++ b/qpid-cpp.spec
@@ -26,7 +26,7 @@
 %global qpid_svnrev  946106
 %global store_svnrev 3975
 # Change this release number for each build of the same qpid_svnrev, otherwise set back to 1.
-%global release_num  3
+%global release_num  4
 
 # NOTE: these flags should not both be set at the same time!
 # RHEL-6 builds should have all flags set to 0.
@@ -64,8 +64,10 @@
 %global client_devel_docs %{MRG_core}
 %global server_devel      %{MRG_core}
 %global qmf_devel         %{MRG_core}
+%ifnarch s390 s390x
 %global client_rdma       %{MRG_non_core}
 %global server_rdma       %{MRG_non_core}
+%endif
 %global client_ssl        %{MRG_non_core}
 %global server_ssl        %{MRG_non_core}
 %global server_xml        %{MRG_non_core}
@@ -109,7 +111,10 @@ Patch6:         store_1.3.x.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+# limit the architectures only in RHEL
+%if 0%{?rhel}
 ExclusiveArch:  i386 i686 x86_64
+%endif
 #Vendor:         Red Hat, Inc.
 
 BuildRequires: boost-devel
@@ -125,10 +130,12 @@ BuildRequires: cyrus-sasl-devel
 BuildRequires: cyrus-sasl-lib
 %endif
 BuildRequires: cyrus-sasl
+%if %{client_rdma} || %{server_rdma}
 BuildRequires: libibverbs-devel
 %if ! %{rhel_4}
 BuildRequires: librdmacm-devel
 %endif
+%endif
 BuildRequires: nss-devel
 BuildRequires: nspr-devel
 BuildRequires: xqilla-devel
@@ -944,6 +951,10 @@ rm -rf %{buildroot}
 %postun -p /sbin/ldconfig
 
 %changelog
+* Thu Sep 30 2010 Dan Horák <dan[at]danny.cz> - 0.7.946106-4
+- don't build with InfiniBand support on s390(x)
+- don't limit architectures in Fedora
+
 * Sun Aug  1 2010 Thomas Spura <tomspur at fedoreproject.org> - 0.7.946106-3
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list