Hello community,

here is the log from the commit of package python-blosc for openSUSE:Factory 
checked in at 2014-08-08 10:10:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-blosc (Old)
 and      /work/SRC/openSUSE:Factory/.python-blosc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-blosc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-blosc/python-blosc.changes        
2014-07-27 08:26:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-blosc.new/python-blosc.changes   
2014-08-08 10:13:40.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Aug  6 15:16:57 UTC 2014 - [email protected]
+
+- setup.patch: fix use of unknown compiler option
+
+-------------------------------------------------------------------

New:
----
  setup.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-blosc.spec ++++++
--- /var/tmp/diff_new_pack.kNA1TC/_old  2014-08-08 10:13:41.000000000 +0200
+++ /var/tmp/diff_new_pack.kNA1TC/_new  2014-08-08 10:13:41.000000000 +0200
@@ -13,19 +13,22 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
 
 %define modname blosc
 Name:           python-blosc
 Version:        1.2.4
 Release:        0
-License:        MIT
 Summary:        Blosc data compressor for Python
-Url:            http://www.blosc.org/
+License:        MIT
 Group:          Development/Languages/Python
+Url:            http://www.blosc.org/
 Source:         
http://pypi.python.org/packages/source/b/blosc/blosc-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  gcc-c++
+Patch:          setup.patch
 BuildRequires:  blosc-devel
+BuildRequires:  gcc-c++
+BuildRequires:  python-devel
 Requires:       blosc-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -38,6 +41,7 @@
 
 %prep
 %setup -q -n blosc-%{version}
+%patch -p1
 
 %build
 CFLAGS="%{optflags}" python setup.py build_ext --inplace --blosc=%{_prefix}
@@ -51,5 +55,4 @@
 %{python_sitearch}/blosc-%{version}-py*.egg-info
 %{python_sitearch}/blosc/
 
-
 %changelog

++++++ setup.patch ++++++
Index: blosc-1.2.4/setup.py
===================================================================
--- blosc-1.2.4.orig/setup.py
+++ blosc-1.2.4/setup.py
@@ -8,6 +8,7 @@
 ########################################################################
 
 import sys, os
+import re, platform
 
 from distutils.core import Extension
 from distutils.core import setup
@@ -57,7 +58,7 @@ for arg in args:
         sys.argv.remove(arg)
 
 # Add -msse2 flag for optimizing shuffle in Blosc
-if os.name == 'posix':
+if os.name == 'posix' and re.match("i.86", platform.machine()) != None:
     CFLAGS.append("-msse2")
 
 # Blosc sources and headers
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to