[packages/python-pathspec] - don't package tests
qboosh
qboosh at pld-linux.org
Fri Feb 5 20:56:08 CET 2021
commit b87da2a4a7e0d486e4a176935157ef471b389bee
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Feb 5 20:56:31 2021 +0100
- don't package tests
python-pathspec.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/python-pathspec.spec b/python-pathspec.spec
index 93ec1df..a972687 100644
--- a/python-pathspec.spec
+++ b/python-pathspec.spec
@@ -85,11 +85,14 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python2}
%py_install
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/pathspec/tests
%py_postclean
%endif
%if %{with python3}
%py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/pathspec/tests
%endif
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pathspec.git/commitdiff/b87da2a4a7e0d486e4a176935157ef471b389bee
More information about the pld-cvs-commit
mailing list