Hello community, here is the log from the commit of package grantlee5 for openSUSE:Leap:15.2 checked in at 2020-04-14 14:19:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/grantlee5 (Old) and /work/SRC/openSUSE:Leap:15.2/.grantlee5.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grantlee5" Tue Apr 14 14:19:40 2020 rev:14 rq:791922 version:5.2.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/grantlee5/grantlee5.changes 2020-02-14 17:58:10.246829665 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.grantlee5.new.3248/grantlee5.changes 2020-04-14 14:19:41.313216605 +0200 @@ -1,0 +2,8 @@ +Tue Mar 31 09:18:33 UTC 2020 - Matthias Fehring <buschman...@opensuse.org> + +- 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.l8Yx4Z/_old 2020-04-14 14:19:41.685216883 +0200 +++ /var/tmp/diff_new_pack.l8Yx4Z/_new 2020-04-14 14:19:41.689216886 +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