[packages/libseccomp] - run testsuite

arekm arekm at pld-linux.org
Sun Mar 2 18:33:28 CET 2014


commit 3fa3c5e85eba7ad95f67975c3f174835c3e63481
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 2 18:33:26 2014 +0100

    - run testsuite

 libseccomp.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/libseccomp.spec b/libseccomp.spec
index a7bf82c..76386f9 100644
--- a/libseccomp.spec
+++ b/libseccomp.spec
@@ -1,3 +1,6 @@
+#
+%bcond_without	tests
+#
 Summary:	Enhanced Seccomp (mode 2) Helper library
 Summary(pl.UTF-8):	Rozszerzona biblioteka pomocnicza Seccomp (trybu 2)
 Name:		libseccomp
@@ -67,6 +70,8 @@ CFLAGS="%{rpmcflags} -Wall" \
 %{__make} \
 	V=1
 
+%{?with_tests:%{__make} check V=1}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libseccomp.git/commitdiff/3fa3c5e85eba7ad95f67975c3f174835c3e63481



More information about the pld-cvs-commit mailing list