From 01e3d05bdf499af7eda5029051af87a47cda59794904819f9ec87246c31ad7db Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 21 Dec 2017 13:46:14 +0000 Subject: [PATCH] Accepting request 559087 from home:dimstar:Factory - Fix check section: + Make sure to get back to the right directory after chdir to 'tools', or we can't run the 2nd test suite. + Fix typo: the tests are located in a directory called 'test', not 'tests'. Note: rpm4.14 finally errs out on the old broken %check section. Previous rpm versions 'missed' to bail out. OBS-URL: https://build.opensuse.org/request/show/559087 OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=109 --- tiff.changes | 9 +++++++++ tiff.spec | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/tiff.changes b/tiff.changes index df6e196..5d29275 100644 --- a/tiff.changes +++ b/tiff.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Dec 21 13:03:18 UTC 2017 - dimstar@opensuse.org + +- Fix check section: + + Make sure to get back to the right directory after chdir to + 'tools', or we can't run the 2nd test suite. + + Fix typo: the tests are located in a directory called 'test', + not 'tests'. + ------------------------------------------------------------------- Wed Nov 29 09:08:42 UTC 2017 - fstrba@suse.com diff --git a/tiff.spec b/tiff.spec index 7d7b46c..c28ce70 100644 --- a/tiff.spec +++ b/tiff.spec @@ -114,8 +114,8 @@ find %{buildroot} -type f -name "*.la" -delete -print find html -name "Makefile*" | xargs rm %check -for i in tools tests; do - cd $i && make %{?_smp_mflags} check +for i in tools test; do + (cd $i && make %{?_smp_mflags} check) done %post -n libtiff5 -p /sbin/ldconfig