[libuser] Make %check fail on test suite failure again

Miloslav Trmac mitr at fedoraproject.org
Tue Oct 15 15:58:42 UTC 2013


commit 1d8e7a85fbbb351b8bddca1de56a32d7ac57ba42
Author: Miloslav Trmač <mitr at redhat.com>
Date:   Tue Oct 15 17:58:20 2013 +0200

    Make %check fail on test suite failure again

 libuser.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libuser.spec b/libuser.spec
index e8b53bf..3d66c8a 100644
--- a/libuser.spec
+++ b/libuser.spec
@@ -2,7 +2,7 @@
 
 Name: libuser
 Version: 0.60
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: System Environment/Base
 License: LGPLv2+
 URL: https://fedorahosted.org/libuser/
@@ -57,7 +57,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
 
 %check
 
-make check || cat test-suite.log
+make check || { cat test-suite.log; false; }
 
 # Verify that all python modules load, just in case.
 LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir}:${LD_LIBRARY_PATH}
@@ -96,6 +96,9 @@ python -c "import libuser"
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Tue Oct 15 2013 Miloslav Trmač <mitr at redhat.com> - 0.60-3
+- Fix the -2 change, %%check should fail on test suite failure
+
 * Mon Oct 14 2013 Miloslav Trmač <mitr at redhat.com> - 0.60-2
 - Include test suite output in build log on failure
 


More information about the scm-commits mailing list