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
This commit is contained in:
Fridrich Strba 2017-12-21 13:46:14 +00:00 committed by Git OBS Bridge
parent 0f8d14905c
commit 01e3d05bdf
2 changed files with 11 additions and 2 deletions

View File

@ -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 Wed Nov 29 09:08:42 UTC 2017 - fstrba@suse.com

View File

@ -114,8 +114,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
find html -name "Makefile*" | xargs rm find html -name "Makefile*" | xargs rm
%check %check
for i in tools tests; do for i in tools test; do
cd $i && make %{?_smp_mflags} check (cd $i && make %{?_smp_mflags} check)
done done
%post -n libtiff5 -p /sbin/ldconfig %post -n libtiff5 -p /sbin/ldconfig