From 3d92433a440d2cbd15739a76a268e5c6f18d114ce473c3b58036771d5632a5e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 5 Dec 2019 11:36:43 +0000 Subject: [PATCH] Accepting request 754349 from home:jayvdb:branches:devel:languages:python - Remove test suite from runtime package OBS-URL: https://build.opensuse.org/request/show/754349 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery-batches?expand=0&rev=5 --- python-celery-batches.changes | 5 +++++ python-celery-batches.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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