diff --git a/python-Cython.changes b/python-Cython.changes index d1e4fce..a4017f5 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 2 17:54:50 UTC 2022 - Matej Cepl + +- Make the running the test suite conditional (default + off). Seven hours of running it is just too much. + ------------------------------------------------------------------- Mon Jan 31 20:31:01 UTC 2022 - Matej Cepl diff --git a/python-Cython.spec b/python-Cython.spec index 981f566..e9be980 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -18,6 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python +%bcond_with test Name: python-Cython Version: 0.29.27 Release: 0 @@ -80,9 +81,11 @@ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/ } %check +%if %{with test} %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1 $python runtests.py -v } +%endif %post %python_install_alternative cython cythonize cygdb