- 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
This commit is contained in:
Tomáš Chvátal 2019-10-03 13:54:26 +00:00 committed by Git OBS Bridge
parent 793bbb5e9d
commit 6695e2c226
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 3 13:53:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Force cythonization to ensure build under different versions of
python
-------------------------------------------------------------------
Thu Sep 26 11:52:40 UTC 2019 - Berthold Gunreben <azouhr@opensuse.org>

View File

@ -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}