[packages/python-os-service-types] - don't package tests; release 2

qboosh qboosh at pld-linux.org
Wed Feb 14 07:57:45 CET 2024


commit ef375982336662daf701db46142c78a4ec133f8b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Feb 14 06:34:31 2024 +0100

    - don't package tests; release 2

 python-os-service-types.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-os-service-types.spec b/python-os-service-types.spec
index 1038c52..eba07ab 100644
--- a/python-os-service-types.spec
+++ b/python-os-service-types.spec
@@ -9,7 +9,7 @@ Summary:	Python library for consuming OpenStack sevice-types-authority data
 Summary(pl.UTF-8):	Biblioteka Pythona do konsumowania danych OpenStack sevice-types-authority
 Name:		python-os-service-types
 Version:	1.7.0
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/os-service-types/
@@ -129,10 +129,13 @@ rm -rf $RPM_BUILD_ROOT
 %py_install
 
 %py_postclean
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/os_service_types/tests
 %endif
 
 %if %{with python3}
 %py3_install
+
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/os_service_types/tests
 %endif
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-os-service-types.git/commitdiff/ef375982336662daf701db46142c78a4ec133f8b



More information about the pld-cvs-commit mailing list