1
0

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
This commit is contained in:
Tomáš Chvátal 2019-12-05 11:36:43 +00:00 committed by Git OBS Bridge
parent 152c7e27d5
commit 3d92433a44
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>

View File

@ -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