14
0

- Do not remove cherrypy tests from distribution as other projects

use it for self testing too

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CherryPy?expand=0&rev=35
This commit is contained in:
Tomáš Chvátal
2019-10-11 07:43:58 +00:00
committed by Git OBS Bridge
parent 8db0e1cdb9
commit 3b611352a3
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 11 07:43:34 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Do not remove cherrypy tests from distribution as other projects
use it for self testing too
-------------------------------------------------------------------
Mon Oct 7 13:26:26 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -76,7 +76,8 @@ sed -i -e '/addopts/d' pytest.ini
%install
%python_install
%python_expand rm -r %{buildroot}%{$python_sitelib}/cherrypy/test
# Do not remove the tests as other project use them for self validation
#%%python_expand rm -r %{buildroot}%{$python_sitelib}/cherrypy/test
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/cherryd