Accepting request 527258 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/527258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=56
This commit is contained in:
2017-09-21 10:27:39 +00:00
committed by Git OBS Bridge
parent 900ebbe0f3
commit d49097bc87
7 changed files with 64 additions and 24 deletions

View File

@@ -41,7 +41,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-numpy
Version: 1.12.1
Version: 1.13.1
Release: 0
Summary: NumPy array processing for numbers, strings, records and objects
License: BSD-3-Clause
@@ -52,8 +52,6 @@ Source: https://pypi.io/packages/source/n/numpy/numpy-%{version}.zip
Patch0: numpy-buildfix.patch
# PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious compiler warnings that cause build failure
Patch1: numpy-1.9.0-remove-__declspec.patch
# PATCH-FIX-UPSTREAM don't use obsolete <xlocale.h>
Patch2: xlocale.patch
BuildRequires: blas-devel
%if 0%{?suse_version}
BuildRequires: fdupes
@@ -113,9 +111,8 @@ This package contains files for developing applications using numpy.
%setup -q -n numpy-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
# Fix non-executable scripts
sed -i "1d" numpy/{compat/setup,distutils/{conv_template,cpuinfo,exec_command,from_template,setup,system_info},f2py/{__init__,auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,f2py2e,f90mod_rules,func2subr,rules,setup,use_rules},ma/setup,matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py
sed -i "1d" numpy/{compat/setup,distutils/{conv_template,cpuinfo,from_template,setup,system_info},f2py/{__init__,auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,f2py2e,f90mod_rules,func2subr,rules,setup,use_rules},ma/setup,matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py
%build