[python-blosc] Proper linking with blosc lib
Thibault North
tnorth at fedoraproject.org
Tue Nov 5 16:34:01 UTC 2013
commit ce49e447ead29e523b0a5001be7a2d19d07ca805
Author: Thibault North <tnorth at fedoraproject.org>
Date: Tue Nov 5 11:34:01 2013 -0500
Proper linking with blosc lib
python-blosc.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/python-blosc.spec b/python-blosc.spec
index ef29f36..3a92009 100644
--- a/python-blosc.spec
+++ b/python-blosc.spec
@@ -5,7 +5,7 @@
Summary: Python wrapper for the blosc high performance compressor
Name: python-%{module}
Version: 1.1
-Release: 6%{?dist}
+Release: 7%{?dist}
License: MIT
URL: https://github.com/FrancescAlted/python-blosc
Source0: https://pypi.python.org/packages/source/b/%{module}/%{module}-%{version}.tar.gz
@@ -22,7 +22,9 @@ Python wrapper for the Blosc high performance compressor.
sed -i "s|CFLAGS\.append(\"-msse2\")|pass|" setup.py
%build
+export BLOSC_DIR=%{_libdir}/blosc
CFLAGS="%{optflags}" %{__python2} setup.py build
+
# Fix lib perms
find . -name "blosc_extension.so" -exec chmod 0755 {} \;
@@ -35,6 +37,9 @@ find . -name "blosc_extension.so" -exec chmod 0755 {} \;
%{python2_sitearch}/blosc-%{version}*-py*.egg-info
%changelog
+* Tue Nov 05 2013 Thibault North <tnorth at fedoraproject.org> - 1.1-7
+- Properly link with blosc shared lib
+
* Tue Nov 05 2013 Thibault North <tnorth at fedoraproject.org> - 1.1-6
- Disable SSE2 optimizations
More information about the scm-commits
mailing list