[qjson] %check: CTEST_OUTPUT_ON_FAILURE

Rex Dieter rdieter at fedoraproject.org
Fri Dec 13 20:13:53 UTC 2013


commit c8001f7756cb1128704f5a0f32925a71db70869b
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Fri Dec 13 14:14:00 2013 -0600

    %check: CTEST_OUTPUT_ON_FAILURE

 qjson.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/qjson.spec b/qjson.spec
index 6b73b7b..2da6321 100644
--- a/qjson.spec
+++ b/qjson.spec
@@ -1,6 +1,6 @@
 Name:           qjson
 Version:        0.8.1
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A qt-based library that maps JSON data to QVariant objects
 
 License:        GPLv2+
@@ -48,6 +48,7 @@ make install DESTDIR=%{buildroot} -C %{_target_platform}
 %check
 export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
 test "$(pkg-config --modversion QJson)" = "%{version}"
+export CTEST_OUTPUT_ON_FAILURE=1
 make test -C %{_target_platform}
 
 %post -p /sbin/ldconfig
@@ -68,6 +69,9 @@ make test -C %{_target_platform}
 %{_libdir}/cmake/qjson/
 
 %changelog
+* Fri Dec 13 2013 Rex Dieter <rdieter at fedoraproject.org> 0.8.1-5
+- %%check: CTEST_OUTPUT_ON_FAILURE
+
 * Thu Aug 22 2013 Rex Dieter <rdieter at fedoraproject.org> 0.8.1-4
 - .spec cleanup
 


More information about the scm-commits mailing list