commit dtkwidget for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dtkwidget for openSUSE:Factory checked in at 2024-03-29 13:09:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dtkwidget (Old) and /work/SRC/openSUSE:Factory/.dtkwidget.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "dtkwidget" Fri Mar 29 13:09:44 2024 rev:16 rq:1163317 version:5.5.52 Changes: -------- --- /work/SRC/openSUSE:Factory/dtkwidget/dtkwidget.changes 2022-09-01 22:11:23.436280174 +0200 +++ /work/SRC/openSUSE:Factory/.dtkwidget.new.1905/dtkwidget.changes 2024-03-29 13:10:34.638291479 +0100 @@ -1,0 +2,5 @@ +Thu Mar 28 12:54:14 UTC 2024 - Hillwood Yang <hillwood@opensuse.org> + +- Fix build on gtest 1.14.0 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dtkwidget.spec ++++++ --- /var/tmp/diff_new_pack.LuTyM8/_old 2024-03-29 13:10:35.242313679 +0100 +++ /var/tmp/diff_new_pack.LuTyM8/_new 2024-03-29 13:10:35.242313679 +0100 @@ -1,7 +1,7 @@ # # spec file for package dtkwidget # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2021 Hillwood Yang <hillwood@opensuse.org> # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define libver 5 %define apiver 5.5.0 -# %define pkg_ver 5.5 +%define gtest_version %(rpm -q --queryformat '%%{VERSION}' gtest) Name: dtkwidget Version: 5.5.52 @@ -31,9 +31,9 @@ Source0: https://github.com/linuxdeepin/dtkwidget/archive/%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTEAM dtkwidget-fix-lost-pkgconfig.patch hillwood@opensuse.org - fix lost pkgconfig Patch0: dtkwidget-fix-lost-pkgconfig.patch +BuildRequires: dtkcommon BuildRequires: fdupes BuildRequires: gtest -BuildRequires: dtkcommon BuildRequires: libqt5-linguist BuildRequires: libqt5-qtbase-private-headers-devel BuildRequires: libqt5-qtdeclarative-devel @@ -79,7 +79,14 @@ %prep %autosetup -p1 -# sed -i 's/lrelease/qt5/g' tools/translate_generation.* +%if "%{gtest_version}" >= "1.14.0" +sed -i 's|c++11|c++14|g' examples/dwidget-examples/collections/collections.pro \ +plugin/dtkuidemo/dtkuidemo.pro \ +src/lib.pri \ +src/widgets/private/keyboardmonitor/keyboardmonitor.pri \ +src/widgets/private/startupnotifications/startupnotifications.pri \ +tools/svgc/svgc.pro +%endif %build %qmake5 DEFINES+=QT_NO_DEBUG_OUTPUT \
participants (1)
-
Source-Sync