[pymongo/el6/master] Disable .so fixes for ppc64 (no big endian support)
Silas Sewell
silas at fedoraproject.org
Tue Nov 9 01:29:38 UTC 2010
commit e590e8349ac2a9f110efdf4dd2b6c41c438653de
Author: Silas Sewell <silas at sewell.ch>
Date: Mon Nov 8 20:29:19 2010 -0500
Disable .so fixes for ppc64 (no big endian support)
pymongo.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/pymongo.spec b/pymongo.spec
index acec68b..efabc49 100644
--- a/pymongo.spec
+++ b/pymongo.spec
@@ -15,7 +15,7 @@
Name: pymongo
Version: 1.9
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Python driver for MongoDB
Group: Development/Languages
@@ -108,16 +108,20 @@ popd
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%ifnarch ppc64
# Fix non-standard-executable-perm error
chmod 755 %{buildroot}%{python_sitearch}/%{name}/_cmessage.so
chmod 755 %{buildroot}%{python_sitearch}/bson/_cbson.so
+%end
%if 0%{?with_python3}
pushd %{py3dir}
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+%ifnarch ppc64
# Fix non-standard-executable-perm error
chmod 755 %{buildroot}%{python3_sitearch}/%{name}/_cmessage.so
chmod 755 %{buildroot}%{python3_sitearch}/bson/_cbson.so
+%end
popd
%endif # with_python3
@@ -181,6 +185,9 @@ nosetests --exclude="$exclude"
popd
%changelog
+* Mon Nov 08 2010 Silas Sewell <silas at sewell.ch> - 1.9-5
+- Disable .so fixes for ppc64 (no big endian support)
+
* Tue Oct 26 2010 Silas Sewell <silas at sewell.ch> - 1.9-4
- Add comment about multi-license
More information about the scm-commits
mailing list