From 6695e2c2260ef8fe5dfa175861485a44244d54172c374607a500a83c01cc94dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 3 Oct 2019 13:54:26 +0000 Subject: [PATCH] - Force cythonization to ensure build under different versions of python OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=38 --- python-numpy.changes | 6 ++++++ python-numpy.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-numpy.changes b/python-numpy.changes index 05991a1..e5de666 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 3 13:53:35 UTC 2019 - Tomáš Chvátal + +- Force cythonization to ensure build under different versions of + python + ------------------------------------------------------------------- Thu Sep 26 11:52:40 UTC 2019 - Berthold Gunreben diff --git a/python-numpy.spec b/python-numpy.spec index 9baeebe..cbfa86e 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -166,6 +166,9 @@ This package contains files for developing applications using numpy. # Fix non-executable scripts sed -i '1s/^#!.*$//' 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,bench},matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py +# force cythonization +rm PKG-INFO + %build %define _lto_cflags %{nil} %if %{with hpc}