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

Dan Horák sharkcz at fedoraproject.org
Mon Aug 20 13:49:18 UTC 2012


commit 3468e0ca915d362bba2fe7dfd2cdfe34141d9000
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 d5fe89c..c570dbb 100644
--- a/qpid-cpp.spec
+++ b/qpid-cpp.spec
@@ -675,7 +675,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