[python-cassandra-driver/epel7] No .so files on big endian platforms

Lubomir Rintel lkundrak at fedoraproject.org
Wed May 7 16:05:00 UTC 2014


commit 3c7b7712ebf4c6e61437b6d4556f18d2611f6d96
Author: Lubomir Rintel <lkundrak at v3.sk>
Date:   Wed May 7 18:05:18 2014 +0200

    No .so files on big endian platforms

 python-cassandra-driver.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/python-cassandra-driver.spec b/python-cassandra-driver.spec
index dc3077a..a682380 100644
--- a/python-cassandra-driver.spec
+++ b/python-cassandra-driver.spec
@@ -3,7 +3,7 @@
 
 Name:           python-cassandra-driver
 Version:        1.1.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        DataStax Python Driver for Apache Cassandra
 
 Group:          Development/Libraries
@@ -51,10 +51,10 @@ CFLAGS="%{optflags}" %{__python2} setup.py build
 %if "%(%{__python2} -c 'import sys; print sys.byteorder')" != "little"
 mkdir -p %{buildroot}%{python2_sitearch}
 mv %{buildroot}{%{python2_sitelib}/*,%{python2_sitearch}}
-%endif
-
+%else
 # ccache mock plugin can cause wrong mode to be set
 chmod 0755 %{buildroot}%{python2_sitearch}/cassandra/{io/,}*.so
+%endif
 
 
 %check
@@ -75,6 +75,9 @@ chmod 0755 %{buildroot}%{python2_sitearch}/cassandra/{io/,}*.so
 
 
 %changelog
+* Wed May 07 2014 Lubomir Rintel (GoodData) <lubo.rintel at gooddata.com> - 1.1.1-3
+- No .so files on big endian platforms
+
 * Sat May 03 2014 Lubomir Rintel (GoodData) <lubo.rintel at gooddata.com> - 1.1.1-2
 - Make sure the .so files have correct mode
 - Fix license tag


More information about the scm-commits mailing list