From 6261eafeb9344f3725ee899dd49578bebcffc0c7 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 12 Oct 2015 10:57:13 -0400 Subject: [PATCH] Add patch to hopefully close race condition in systemd builds - Related to https://bugzilla.redhat.com/show_bug.cgi?id=1249051 - And the test suite is failing but the logs are hidden under test-suite.log, so copy some code I had in dbus.spec to cat them. --- intltool.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/intltool.spec b/intltool.spec index 7a7b189..ab5c6d1 100644 --- a/intltool.spec +++ b/intltool.spec @@ -44,7 +44,13 @@ make %{?_smp_mflags} make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %check -make check +if ! make check; then + find . -type f -name 'test-suite.log' | while read trs; do + echo "BEGIN " ${trs}; cat ${trs} 1>&2; + done + echo "Exiting abnormally due to make check failure above" 1>&2 + exit 1 +fi %files %doc AUTHORS README @@ -58,6 +64,8 @@ make check * Mon Oct 12 2015 Colin Walters - 0.51.0-4 - Add patch to hopefully close race condition in systemd builds - Related to https://bugzilla.redhat.com/show_bug.cgi?id=1249051 +- And the test suite is failing but the logs are hidden under + test-suite.log, so copy some code I had in dbus.spec to cat them. * Mon Jul 13 2015 Ralf Corsépius - 0.51.0-3 - Add intltool-0.51.0-perl-5.22.patch (Address RHBZ#1233444)