]> git.pld-linux.org Git - packages/python-cliff.git/commitdiff
- don't package tests; release 2 master auto/th/python-cliff-2.18.0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 17 Jan 2024 16:30:35 +0000 (17:30 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 17 Jan 2024 16:30:35 +0000 (17:30 +0100)
python-cliff.spec

index 2a0ca8fcc5c01cc05f91c0027100881619bf7274..c4df141a86568088f5d69ca68e7a13341fe1c88b 100644 (file)
@@ -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}
This page took 0.114653 seconds and 4 git commands to generate.