Accepting request 754350 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/754350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery-batches?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2019-12-05 16:34:59 +00:00 committed by Git OBS Bridge
commit e71216554d
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 5 10:38:35 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Remove test suite from runtime package
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 13 10:49:19 UTC 2019 - Jan Engelhardt <jengelh@inai.de> Sun Jan 13 10:49:19 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -53,10 +53,13 @@ with any other form application.
%install %install
%python_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 %check
%python_expand PYTHONPATH=%{$python_sitelib} py.test-%{$python_bin_suffix} -v t/ %pytest t/
%files %{python_files} %files %{python_files}
%doc README.rst CHANGELOG.rst %doc README.rst CHANGELOG.rst