Hello community, here is the log from the commit of package grantlee5 for openSUSE:Factory checked in at 2020-04-05 20:51:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grantlee5 (Old) and /work/SRC/openSUSE:Factory/.grantlee5.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grantlee5" Sun Apr 5 20:51:54 2020 rev:7 rq:790581 version:5.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/grantlee5/grantlee5.changes 2019-12-23 22:40:13.533892717 +0100 +++ /work/SRC/openSUSE:Factory/.grantlee5.new.3248/grantlee5.changes 2020-04-05 20:51:54.721088868 +0200 @@ -1,0 +2,8 @@ +Tue Mar 31 09:18:33 UTC 2020 - Matthias Fehring <[email protected]> + +- Require cmake(Qt5LinguistTools) for building to enable testing of + internationalization +- Use xvfb-run to run all tests, this obsoletes the following patch: + * grantlee-5.2.0-disable-textdocument-tests.patch + +------------------------------------------------------------------- Old: ---- grantlee-5.2.0-disable-textdocument-tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grantlee5.spec ++++++ --- /var/tmp/diff_new_pack.7S5NOG/_old 2020-04-05 20:51:55.165089293 +0200 +++ /var/tmp/diff_new_pack.7S5NOG/_new 2020-04-05 20:51:55.169089297 +0200 @@ -1,7 +1,7 @@ # # spec file for package grantlee5 # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,13 +34,14 @@ Patch0: includes.diff # PATCH-FIX-OPENSUSE grantlee-5.2.0-fix-ctest-ld-library-path.patch -- set ld library path for tests Patch1: grantlee-5.2.0-fix-ctest-ld-library-path.patch -# PATCH-FIX-OPENSUSE grantlee-5.2.0-fix-ctest-ld-library-path.patch -- disable tests for now that throwing an exception for some reason -Patch2: grantlee-5.2.0-disable-textdocument-tests.patch BuildRequires: cmake >= 3.5 BuildRequires: cmake(Qt5Core) >= 5.3 BuildRequires: cmake(Qt5Gui) >= 5.3 BuildRequires: cmake(Qt5Qml) >= 5.3 %if %{with tests} +BuildRequires: /usr/bin/Xvfb +BuildRequires: xvfb-run +BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt5Test) >= 5.3 %endif @@ -74,7 +75,8 @@ %if %{with tests} %check -%ctest +export CTEST_OUTPUT_ON_FAILURE=1 +xvfb-run -a make test -C %{__builddir} ||: %endif %post -p /sbin/ldconfig
