[packages/zziplib] add tests bcond

atler atler at pld-linux.org
Sat May 21 21:19:40 CEST 2022


commit 04f4a6ec0b2e946d13d654a7221d393e2a0573bf
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat May 21 21:19:01 2022 +0200

    add tests bcond

 zziplib.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/zziplib.spec b/zziplib.spec
index 6f576be..a956237 100644
--- a/zziplib.spec
+++ b/zziplib.spec
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without	apidocs	# API documentation
+%bcond_without	tests	# do not perform "make check"
 #
 Summary:	ZZipLib - libZ-based ZIP-access Library
 Summary(pl.UTF-8):	ZZipLib - biblioteka dostępu do archiwów ZIP
@@ -103,7 +104,7 @@ Dokumentacja API biblioteki ZZipLib.
 %configure
 
 %{__make}
-%{__make} -j1 check
+%{?with_tests:%{__make} -j1 check}
 %if %{with apidocs}
 %{__make} doc
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zziplib.git/commitdiff/fda07ad8823c10e13cdd4c9fa6155c7e2c8cd258



More information about the pld-cvs-commit mailing list