[packages/python-cliff] - don't package tests; release 2
qboosh
qboosh at pld-linux.org
Wed Jan 17 17:59:46 CET 2024
commit 269233ed21a587583d0a15fbfaa433186aa74240
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jan 17 17:30:35 2024 +0100
- don't package tests; release 2
python-cliff.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/python-cliff.spec b/python-cliff.spec
index 2a0ca8f..c4df141 100644
--- a/python-cliff.spec
+++ b/python-cliff.spec
@@ -9,7 +9,7 @@ Summary(pl.UTF-8): Command Line Interface Formulation Framework - szkielet formu
Name: python-cliff
# keep 2.x here for python2 support
Version: 2.18.0
-Release: 1
+Release: 2
License: Apache
Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/c/cliff/cliff-%{version}.tar.gz
@@ -126,10 +126,14 @@ rm -rf $RPM_BUILD_ROOT
%py_install
%py_postclean
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/cliff/tests
%endif
%if %{with python3}
%py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/cliff/tests
%endif
%if %{with python2}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-cliff.git/commitdiff/269233ed21a587583d0a15fbfaa433186aa74240
More information about the pld-cvs-commit
mailing list