diff --git a/python-celery-batches.changes b/python-celery-batches.changes index 8fd6ea5..24a65c2 100644 --- a/python-celery-batches.changes +++ b/python-celery-batches.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 5 10:38:35 UTC 2019 - John Vandenberg + +- Remove test suite from runtime package + ------------------------------------------------------------------- Sun Jan 13 10:49:19 UTC 2019 - Jan Engelhardt diff --git a/python-celery-batches.spec b/python-celery-batches.spec index 2e598a5..96f5e72 100644 --- a/python-celery-batches.spec +++ b/python-celery-batches.spec @@ -53,10 +53,13 @@ with any other form application. %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +# Remove test suite +%{python_expand rm -r %{buildroot}%{$python_sitelib}/t/ +%fdupes %{buildroot}%{$python_sitelib} +} %check -%python_expand PYTHONPATH=%{$python_sitelib} py.test-%{$python_bin_suffix} -v t/ +%pytest t/ %files %{python_files} %doc README.rst CHANGELOG.rst