[packages/python-keystoneauth1] - don't package tests; release 2
qboosh
qboosh at pld-linux.org
Tue Feb 13 22:28:21 CET 2024
commit 48872f417b9f4efe653d09311725043a756da1d5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Feb 13 22:24:17 2024 +0100
- don't package tests; release 2
python-keystoneauth1.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/python-keystoneauth1.spec b/python-keystoneauth1.spec
index d9ae927..e24895a 100644
--- a/python-keystoneauth1.spec
+++ b/python-keystoneauth1.spec
@@ -13,7 +13,7 @@ Summary(pl.UTF-8): Biblioteka uwierzytleniająca dla tożsamości OpenStack
Name: python-keystoneauth1
# keep 3.x here for python2 support
Version: 3.18.0
-Release: 1
+Release: 2
License: Apache v2.0
Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/k/keystoneauth1/keystoneauth1-%{version}.tar.gz
@@ -157,10 +157,14 @@ rm -rf $RPM_BUILD_ROOT
%py_install
%py_postclean
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/keystoneauth1/tests
%endif
%if %{with python3}
%py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/keystoneauth1/tests
%endif
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-keystoneauth1.git/commitdiff/48872f417b9f4efe653d09311725043a756da1d5
More information about the pld-cvs-commit
mailing list