diff --git a/numpy-1.16.1.zip b/numpy-1.16.1.zip deleted file mode 100644 index 0378d75..0000000 --- a/numpy-1.16.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31d3fe5b673e99d33d70cfee2ea8fe8dccd60f265c3ed990873a88647e3dd288 -size 5070040 diff --git a/numpy-1.16.2.zip b/numpy-1.16.2.zip new file mode 100644 index 0000000..cdec4b4 --- /dev/null +++ b/numpy-1.16.2.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c692e3879dde0b67a9dc78f9bfb6f61c666b4562fd8619632d7043fb5b691b0 +size 5072757 diff --git a/numpy-1.9.0-remove-__declspec.patch b/numpy-1.9.0-remove-__declspec.patch index ba31c39..b15c67a 100644 --- a/numpy-1.9.0-remove-__declspec.patch +++ b/numpy-1.9.0-remove-__declspec.patch @@ -15,7 +15,7 @@ safely removed. --- a/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py -@@ -166,7 +166,7 @@ +@@ -168,7 +168,7 @@ OPTIONAL_FUNCTION_ATTRIBUTES = [('__attr ] # variable attributes tested via "int %s a" % attribute diff --git a/python-numpy-rpmlintrc b/python-numpy-rpmlintrc new file mode 100644 index 0000000..febb29c --- /dev/null +++ b/python-numpy-rpmlintrc @@ -0,0 +1,2 @@ +# This file is required for testing +addFilter("devel-file-in-non-devel-package.*/usr/lib.*/python.*/site-packages/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c") diff --git a/python-numpy.changes b/python-numpy.changes index f5eef65..a16d622 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 12 21:03:43 CET 2019 - Matej Cepl + +- Update to 1.16.2: + - Primarily focused on fixing on Windows-related bugs + - regression fix correcting signed zeros produced by divmod + ------------------------------------------------------------------- Fri Mar 1 21:42:38 CET 2019 - Matej Cepl diff --git a/python-numpy.spec b/python-numpy.spec index b8b03ea..bc5dfd8 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -18,7 +18,7 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _ver 1_16_1 +%define _ver 1_16_2 %define pname python-numpy %bcond_with ringdisabled @@ -77,13 +77,14 @@ ExclusiveArch: do_not_build %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: %{package_name} -Version: 1.16.1 +Version: 1.16.2 Release: 0 Summary: NumPy array processing for numbers, strings, records and objects License: BSD-3-Clause Group: Development/Libraries/Python Url: http://www.numpy.org/ Source: https://pypi.io/packages/source/n/numpy/numpy-%{version}.zip +Source99: python-numpy-rpmlintrc # PATCH-FIX-OPENSUSE numpy-buildfix.patch -- openSUSE-specific build fixes Patch0: numpy-buildfix.patch # PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious compiler warnings that cause build failure @@ -100,7 +101,7 @@ BuildRequires: gcc-fortran BuildRequires: gcc-gfortran %endif %if %{with openblas} -BuildRequires: openblas-devel +BuildRequires: openblas-devel > 0.3.4 %else BuildRequires: blas-devel BuildRequires: lapack-devel @@ -112,7 +113,7 @@ BuildRequires: lua-lmod BuildRequires: suse-hpc Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc %endif -BuildRequires: %{python_module Cython} +BuildRequires: %{python_module Cython >= 0.29.2} BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools}