Accepting request 209593 from devel:languages:python

fix for ppc64le, please forward to factory (forwarded request 209578 from adrianSuSE)

OBS-URL: https://build.opensuse.org/request/show/209593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=37
This commit is contained in:
Stephan Kulow
2013-12-08 18:46:07 +00:00
committed by Git OBS Bridge
parent e047e2d5f6
commit 9f0abbd8d8
3 changed files with 81 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ License: BSD-3-Clause
Group: Development/Libraries/Python
Source: http://sourceforge.net/projects/numpy/files/NumPy/%{version}/%{modname}-%{version}.tar.gz
Patch0: numpy-buildfix.patch
Patch1: numpy-double-double-le.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: blas-devel
BuildRequires: lapack-devel
@@ -88,6 +89,7 @@ This package contains files for developing applications using %{modname}.
%prep
%setup -q -n %{modname}-%{version}
%patch0 -p1
%patch1
# Fix non-executable scripts
sed -i "1d" numpy/{compat/setup,distutils/{conv_template,cpuinfo,exec_command,from_template,setup,system_info},f2py/{auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,docs/usersguide/setup_example,f2py2e,f90mod_rules,func2subr,__init__,rules,setup,use_rules},ma/setup,matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py