From 3b611352a3bb01f15f1f60e7a04b1c81255f013d6747555408e6ae4a0562a947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 11 Oct 2019 07:43:58 +0000 Subject: [PATCH] - 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 --- python-CherryPy.changes | 6 ++++++ python-CherryPy.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-CherryPy.changes b/python-CherryPy.changes index e3015d4..f206b7d 100644 --- a/python-CherryPy.changes +++ b/python-CherryPy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 11 07:43:34 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-CherryPy.spec b/python-CherryPy.spec index 3ec175b..e0fe8f3 100644 --- a/python-CherryPy.spec +++ b/python-CherryPy.spec @@ -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