Hello community, here is the log from the commit of package gperf for openSUSE:Factory checked in at 2018-03-08 10:55:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gperf (Old) and /work/SRC/openSUSE:Factory/.gperf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gperf" Thu Mar 8 10:55:59 2018 rev:20 rq:583405 version:3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gperf/gperf.changes 2017-05-17 10:44:50.595104195 +0200 +++ /work/SRC/openSUSE:Factory/.gperf.new/gperf.changes 2018-03-08 10:55:59.600590304 +0100 @@ -1,0 +2,5 @@ +Tue Mar 6 09:15:05 UTC 2018 - sch...@suse.de + +- testsuite-race.patch: fix race condition in testsuite + +------------------------------------------------------------------- New: ---- testsuite-race.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gperf.spec ++++++ --- /var/tmp/diff_new_pack.UrGHAq/_old 2018-03-08 10:56:00.868544660 +0100 +++ /var/tmp/diff_new_pack.UrGHAq/_new 2018-03-08 10:56:00.872544516 +0100 @@ -1,7 +1,7 @@ # # spec file for package gperf # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,12 +20,13 @@ Version: 3.1 Release: 0 Summary: A Compiler Tool for Generating Perfect Hash Functions -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Development/Languages/C and C++ Url: https://gnu.org/software/gperf/ Source0: https://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz Source1: https://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz.sig Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring +Patch0: testsuite-race.patch BuildRequires: gcc-c++ Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} @@ -37,6 +38,7 @@ %prep %setup -q +%patch0 -p1 %build %configure \ ++++++ testsuite-race.patch ++++++ Fix race condition in testsuite Move the Ada test from check-test to check-ada, where the aout binary is being built. * tests/Makefile.in (check-test): Don't run aout test. (check-ada): Run it here. Index: gperf-3.1/tests/Makefile.in =================================================================== --- gperf-3.1.orig/tests/Makefile.in +++ gperf-3.1/tests/Makefile.in @@ -86,6 +86,9 @@ check-ada: test.$(OBJEXT) @echo "testing Ada predefined words, all items should be found in the set" ./preout -v < $(srcdir)/adadefs.gperf | LC_ALL=C tr -d '\r' > ada-pred.out diff $(srcdir)/ada-pred.exp ada-pred.out + @echo "only if, do, for, case, goto, else, while, and return should be found " + ./aout -v < $(srcdir)/c.gperf | $(POSTPROCESS_FOR_MINGW) > test-7.out + diff $(srcdir)/test-7.exp test-7.out check-modula3: test.$(OBJEXT) $(GPERF) -k1,2,'$$' -I -o $(srcdir)/modula3.gperf > m3inset.c @@ -170,9 +173,6 @@ check-test: # prints out the help message -$(GPERF) -h | $(POSTPROCESS_FOR_MINGW) > test-6.out diff $(srcdir)/test-6.exp test-6.out - @echo "only if, do, for, case, goto, else, while, and return should be found " - ./aout -v < $(srcdir)/c.gperf | $(POSTPROCESS_FOR_MINGW) > test-7.out - diff $(srcdir)/test-7.exp test-7.out # The following validates valid language syntax with different parameters. # Works only with gcc and g++, and only on platforms where "gcc -ansi" is