diff --git a/python-cma.changes b/python-cma.changes index 7bd9b56..0946fdc 100644 --- a/python-cma.changes +++ b/python-cma.changes @@ -3,6 +3,7 @@ Wed May 13 07:12:57 UTC 2020 - Tomáš Chvátal - Add missing runtime dependencies, as declared in setup.py - Format with spec-cleaner +- Make sure the tests are executed ------------------------------------------------------------------- Mon May 11 18:45:35 UTC 2020 - Christoph Junghans diff --git a/python-cma.spec b/python-cma.spec index b95d4a8..f0f1f4f 100644 --- a/python-cma.spec +++ b/python-cma.spec @@ -53,7 +53,7 @@ sed -i '1d' cma/{bbobbenchmarks.py,purecma.py,test.py} %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec ./setup.py check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m cma.test %files %{python_files} %license LICENSE