[qpid-cpp/f18] fix build on non-x86 64-bit arches

Dan Horák sharkcz at fedoraproject.org
Mon Aug 20 12:03:03 UTC 2012


commit 1877fe714f14f495111ebaaad66221e683e1a24d
Author: Dan Horák <dan at danny.cz>
Date:   Mon Aug 20 13:11:40 2012 +0200

    fix build on non-x86 64-bit arches

 qpid-cpp.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/qpid-cpp.spec b/qpid-cpp.spec
index 2dbd04e..251ce6c 100644
--- a/qpid-cpp.spec
+++ b/qpid-cpp.spec
@@ -689,7 +689,8 @@ install -pm 644 %{_builddir}/qpid-%{version}/cpp/bindings/qmf2/python/.libs/_cqm
 chmod +x %{buildroot}%{python_sitelib}/qpidtoollibs/disp.py
 chmod +x %{buildroot}%{python_sitearch}/*.so
 
-%ifarch x86_64
+# remove on 64-bit arches
+%ifarch x86_64 ppc64 s390x sparc64
 rm -rf %{buildroot}%{python_sitelib}/cqmf2.py*
 rm -rf %{buildroot}%{python_sitelib}/cqpid.py*
 rm -rf %{buildroot}%{python_sitelib}/qmf.py*


More information about the scm-commits mailing list