[packages/python-numpy] - updated to 1.10.4

qboosh qboosh at pld-linux.org
Wed Mar 16 17:13:13 CET 2016


commit 572a26d7411b3f73832b2d398aa1202482faca97
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Mar 16 17:17:12 2016 +0100

    - updated to 1.10.4

 python-numpy.spec | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/python-numpy.spec b/python-numpy.spec
index c19108f..090715e 100644
--- a/python-numpy.spec
+++ b/python-numpy.spec
@@ -7,16 +7,16 @@
 Summary:	Python 2 numerical facilities
 Summary(pl.UTF-8):	Moduły do obliczeń numerycznych dla języka Python 2
 Name:		python-%{module}
-Version:	1.10.1
-Release:	2
+Version:	1.10.4
+Release:	1
 Epoch:		1
 License:	BSD
 Group:		Libraries/Python
 Source0:	http://downloads.sourceforge.net/numpy/%{module}-%{version}.tar.gz
-# Source0-md5:	3fed2b50906bc19018cec5fa26168aa5
+# Source0-md5:	90bb9034652cefbada19cf7d141a6a61
 Patch0:		%{name}-fortran-version.patch
 URL:		http://sourceforge.net/projects/numpy/
-BuildRequires:	rpmbuild(macros) >= 1.710
+BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with python2}
 BuildRequires:	python-devel >= 1:2.6
 %pyrequires_eq	python-libs
@@ -130,8 +130,10 @@ Generator interfejsów z Fortranu do Pythona 3.
 %patch0 -p1
 
 %build
-CC="%{__cc}"; export CC
-CFLAGS="%{rpmcflags}"; export CFLAGS
+# numpy.distutils uses CFLAGS/LDFLAGS as its own flags replacements,
+# instead of appending proper options (like -fPIC/-shared resp.)
+CFLAGS="%{rpmcflags} -fPIC"
+LDFLAGS="%{rpmldflags} -shared"
 
 %if %{with python2}
 %py_build
@@ -234,7 +236,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n f2py
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/f2py
+%attr(755,root,root) %{_bindir}/f2py2
 %dir %{py_sitedir}/%{module}/f2py
 %{py_sitedir}/%{module}/f2py/*.py
 %{py_sitedir}/%{module}/f2py/*.py[co]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-numpy.git/commitdiff/572a26d7411b3f73832b2d398aa1202482faca97



More information about the pld-cvs-commit mailing list