Accepting request 157542 from devel:languages:python

- add numpy-aarch64.diff:
  * Fix build for AArch64 (forwarded request 157435 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/157542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=29
This commit is contained in:
Stephan Kulow
2013-03-07 06:34:02 +00:00
committed by Git OBS Bridge
parent 9f17ba6253
commit d384f45c08
5 changed files with 34 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-numpy
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@ License: BSD-3-Clause
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.gz
Patch1: numpy-buildfix.patch
Patch2: numpy-aarch64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: blas-devel
BuildRequires: lapack-devel
@@ -84,6 +85,7 @@ This package contains files for developing applications using %{modname}.
%prep
%setup -q -n %{modname}-%{version}
%patch1 -p0
%patch2
sed -i "1d" %{modname}/{compat/setup{,scons},distutils/{conv_template,cpuinfo,exec_command,from_template,setup,setupscons,system_info},f2py/{auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,docs/usersguide/setup_example,f2py2e,f90mod_rules,func2subr,__init__,rules,setup,setupscons,use_rules},ma/setup{,scons},matrixlib/setup{,scons},setup,setupscons,testing/print_coercion_tables,testing/setup{,scons}}.py # Fix non-executable scripts
%build