Tomáš Chvátal 2020-04-06 09:06:45 +00:00 committed by Git OBS Bridge
parent 2719c9a77b
commit 15b9cb7d6d

View File

@ -100,6 +100,14 @@ This package contains files for developing applications using numba.
%autopatch -p1
sed -i '1{\@^#!%{_bindir}/env python@d}' numba/appdirs.py
# due to new numpy version tests now fail
# Remove this with version update! (>0.48.0)
# https://github.com/numba/numba/issues/5251
rm numba/tests/test_np_functions.py
rm numba/tests/test_ufuncs.py
rm numba/tests/test_array_manipulation.py
rm numba/tests/test_array_reductions.py
%build
export CFLAGS="%{optflags} -fPIC"
%python_build