diff --git a/numpy-1.19.2.zip b/numpy-1.19.2.zip deleted file mode 100644 index f5126e8..0000000 --- a/numpy-1.19.2.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0d310730e1e793527065ad7dde736197b705d0e4c9999775f212b03c44a8484c -size 7310530 diff --git a/numpy-1.19.5.zip b/numpy-1.19.5.zip new file mode 100644 index 0000000..3e4e7f5 --- /dev/null +++ b/numpy-1.19.5.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a76f502430dd98d7546e1ea2250a7360c065a5fdea52b2dffe8ae7180909b6f4 +size 7318340 diff --git a/numpy-buildfix.patch b/numpy-buildfix.patch index 97c9828..740c1a8 100644 --- a/numpy-buildfix.patch +++ b/numpy-buildfix.patch @@ -1,18 +1,21 @@ ---- a/numpy/distutils/command/autodist.py -+++ b/numpy/distutils/command/autodist.py -@@ -50,7 +50,7 @@ - """Return True if the C compiler is GCC 4.x.""" +Index: numpy-1.19.5/numpy/distutils/command/autodist.py +=================================================================== +--- numpy-1.19.5.orig/numpy/distutils/command/autodist.py ++++ numpy-1.19.5/numpy/distutils/command/autodist.py +@@ -51,7 +51,7 @@ def check_compiler_gcc(cmd): + cmd._check_compiler() body = textwrap.dedent(""" - int + void main() { - #if (! defined __GNUC__) || (__GNUC__ < 4) - ---- a/numpy/distutils/command/install.py -+++ b/numpy/distutils/command/install.py -@@ -67,7 +67,7 @@ + #if (! defined __GNUC__) +Index: numpy-1.19.5/numpy/distutils/command/install.py +=================================================================== +--- numpy-1.19.5.orig/numpy/distutils/command/install.py ++++ numpy-1.19.5/numpy/distutils/command/install.py +@@ -67,7 +67,7 @@ class install(old_install): need_rewrite = False for l in f: l = l.rstrip() diff --git a/python-numpy.changes b/python-numpy.changes index 516ea6d..e4f184e 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Jan 8 09:51:04 UTC 2021 - Markéta Machová + +- Update to 1.19.5 + * Fix memory leak of buffer-info cache due to relaxed strides + * Set deprecated fields to null in PyArray_InitArrFuncs + * fix np.timedelta64('nat').__format__ throwing an exception + * more bugfixes +- Rebase numpy-buildfix.patch + ------------------------------------------------------------------- Sat Nov 28 16:08:40 UTC 2020 - Benjamin Greiner diff --git a/python-numpy.spec b/python-numpy.spec index 8322a48..dbd46d0 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -1,7 +1,7 @@ # # spec file for package python-numpy # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define ver 1.19.2 -%define _ver 1_19_2 +%define ver 1.19.5 +%define _ver 1_19_5 %define pname python-numpy %define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_') %if "%{flavor}" == ""