spec: tune %check to show testsuite.log when failed

Version: 1.13.1-15
This commit is contained in:
Pavel Raiskup 2013-04-04 13:22:24 +02:00
parent a828078d02
commit b52bbc7bdc
1 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Summary: A GNU tool for automatically creating Makefiles
Name: automake
Version: %{api_version}.1
Release: 14%{?dist}
Release: 15%{?dist}
# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT
License: GPLv2+ and GFDL and Public Domain and MIT
@ -87,7 +87,7 @@ make install DESTDIR=%{buildroot}
%check
%if %{with check}
make -k %{?_smp_mflags} check
make -k %{?_smp_mflags} check || cat ./test-suite.log && false
%endif
%post
@ -109,6 +109,9 @@ fi
%{_mandir}/man1/*
%changelog
* Thu Apr 04 2013 Pavel Raiskup <praiskup@redhat.com> - 1.13.1-15
- tune %%check to show testsuite.log when failed
* Tue Apr 02 2013 Pavel Raiskup <praiskup@redhat.com> - 1.13.1-14
- fix another requirement on perl package which may cause problems in future,
thanks to Paul Howarth (#924938)