diff --git a/python-Cython.changes b/python-Cython.changes index ef108b2..d1e4fce 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 31 20:31:01 UTC 2022 - Matej Cepl + +- Enable running of the test suite. + ------------------------------------------------------------------- Mon Jan 31 13:46:21 UTC 2022 - Paolo Stivanin diff --git a/python-Cython.spec b/python-Cython.spec index 0f2294a..981f566 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -79,6 +79,11 @@ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/ %fdupes %{buildroot}%{$python_sitearch} } +%check +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1 +$python runtests.py -v +} + %post %python_install_alternative cython cythonize cygdb