[packages/python-oslo.context] - don't package tests; release 2
qboosh
qboosh at pld-linux.org
Tue Feb 13 22:33:48 CET 2024
commit b4079b1403a390b52665a87aa85e2ff25b5ebb92
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Feb 13 22:30:12 2024 +0100
- don't package tests; release 2
python-oslo.context.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-oslo.context.spec b/python-oslo.context.spec
index 1c3edaa..8ffdc8d 100644
--- a/python-oslo.context.spec
+++ b/python-oslo.context.spec
@@ -10,7 +10,7 @@ Summary(pl.UTF-8): Biblioteka Oslo Context
Name: python-oslo.context
# keep 2.x here for python2 support
Version: 2.23.1
-Release: 1
+Release: 2
License: Apache v2.0
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/oslo.context/
@@ -118,10 +118,13 @@ rm -rf $RPM_BUILD_ROOT
%py_install
%py_postclean
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/oslo_context/tests
%endif
%if %{with python3}
%py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/oslo_context/tests
%endif
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-oslo.context.git/commitdiff/b4079b1403a390b52665a87aa85e2ff25b5ebb92
More information about the pld-cvs-commit
mailing list