]> git.pld-linux.org Git - packages/libseccomp.git/blobdiff - libseccomp.spec
- run testsuite
[packages/libseccomp.git] / libseccomp.spec
index 7e2607235a65a3913c22b2d7a614cdb535e945f1..76386f9f6fd1fd34d176e77b0df2dbe6c443c3b4 100644 (file)
@@ -1,12 +1,15 @@
+#
+%bcond_without tests
+#
 Summary:       Enhanced Seccomp (mode 2) Helper library
 Summary(pl.UTF-8):     Rozszerzona biblioteka pomocnicza Seccomp (trybu 2)
 Name:          libseccomp
-Version:       2.1.0
+Version:       2.1.1
 Release:       1
 License:       LGPL v2.1
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/libseccomp/%{name}-%{version}.tar.gz
-# Source0-md5: 3961103c1234c13a810f6a12e60c797f
+# Source0-md5: 1f41207b29e66a7e5e375dd48a64de85
 Patch0:                %{name}-pc.patch
 URL:           http://libseccomp.sourceforge.net/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -67,6 +70,8 @@ CFLAGS="%{rpmcflags} -Wall" \
 %{__make} \
        V=1
 
+%{?with_tests:%{__make} check V=1}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.036938 seconds and 4 git commands to generate.