[packages/python-parameterized] - don't package tests, release 2

qboosh qboosh at pld-linux.org
Tue Feb 16 17:54:26 CET 2021


commit 4d1182456dc36056a02aee1f722d3c6403e22183
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Feb 16 17:54:49 2021 +0100

    - don't package tests, release 2

 python-parameterized.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/python-parameterized.spec b/python-parameterized.spec
index 5a2f06c..fa914a1 100644
--- a/python-parameterized.spec
+++ b/python-parameterized.spec
@@ -8,7 +8,7 @@ Summary:	Parameterized testing with any Python test framework
 Summary(pl.UTF-8):	Parametryzowane testowanie w dowolnym szkielecie testów pythonowych
 Name:		python-parameterized
 Version:	0.8.1
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/parameterized/
@@ -87,10 +87,14 @@ rm -rf $RPM_BUILD_ROOT
 %py_install
 
 %py_postclean
+%{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/parameterized/test.py*
 %endif
 
 %if %{with python3}
 %py3_install
+
+%{__rm} $RPM_BUILD_ROOT%{py3_sitescriptdir}/parameterized/test.py
+%{__rm} $RPM_BUILD_ROOT%{py3_sitescriptdir}/parameterized/__pycache__/test.*.py*
 %endif
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-parameterized.git/commitdiff/4d1182456dc36056a02aee1f722d3c6403e22183



More information about the pld-cvs-commit mailing list