[packages/python3-Uranium] - disable tests (fail on builders only)

baggins baggins at pld-linux.org
Sat Nov 2 19:41:58 CET 2019


commit 898d83feb1514a665f8af6ac1ee3a5d329596df6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Nov 2 19:39:57 2019 +0100

    - disable tests (fail on builders only)

 python3-Uranium.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/python3-Uranium.spec b/python3-Uranium.spec
index 274ba3e..f4559ab 100644
--- a/python3-Uranium.spec
+++ b/python3-Uranium.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with	tests	# do not perform "make test"
+
 %define		module		Uranium
 Summary:	A Python framework for building desktop applications
 Name:		python3-%{module}
@@ -69,7 +73,7 @@ cd build
 %{__make}
 %{__make} doc
 
-%{__make} test
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-Uranium.git/commitdiff/e91d7befe9f86f704f33bdbf3fd266eb42eb21db



More information about the pld-cvs-commit mailing list