commit deepin-reader for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package deepin-reader for openSUSE:Factory checked in at 2024-03-29 13:09:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/deepin-reader (Old) and /work/SRC/openSUSE:Factory/.deepin-reader.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "deepin-reader" Fri Mar 29 13:09:46 2024 rev:7 rq:1163326 version:5.10.23 Changes: -------- --- /work/SRC/openSUSE:Factory/deepin-reader/deepin-reader.changes 2023-12-26 18:27:14.149328058 +0100 +++ /work/SRC/openSUSE:Factory/.deepin-reader.new.1905/deepin-reader.changes 2024-03-29 13:10:35.386318972 +0100 @@ -1,0 +2,5 @@ +Thu Mar 28 13:19:27 UTC 2024 - Hillwood Yang <hillwood@opensuse.org> + +- Fix build on gtest 1.14.0 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ deepin-reader.spec ++++++ --- /var/tmp/diff_new_pack.xyliOT/_old 2024-03-29 13:10:35.978340731 +0100 +++ /var/tmp/diff_new_pack.xyliOT/_new 2024-03-29 13:10:35.978340731 +0100 @@ -1,7 +1,7 @@ # # spec file for package deepin-reader # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2022 Hillwood Yang <hillwood@opensuse.org> # # All modifications and additions to the file contributed by third parties @@ -20,6 +20,7 @@ %define sover 1 # Workaround boo#1189991 %define _lto_cflags %{nil} +%define gtest_version %(rpm -q --queryformat '%%{VERSION}' gtest) %define openjpeg_version %(rpm -q --queryformat '%%{VERSION}' openjpeg2-devel) %define openjpeg_min 2.4.0 @@ -97,6 +98,9 @@ sed -i "/#include/s|<openjpeg.h>|<openjpeg-2.5/openjpeg.h>|g" \ 3rdparty/deepin-pdfium/src/3rdparty/pdfium/pdfium/core/fxcodec/jpx/{cjpx_decoder.h,jpx_decode_utils.h} %endif +%if "%{gtest_version}" >= "1.14.0" +sed -i "s/c++11/c++14/g" tests/tests.pro +%endif %build %qmake5 DAPP_VERSION=%{version} \
participants (1)
-
Source-Sync