Hello community,

here is the log from the commit of package exiv2 for openSUSE:Factory checked 
in at 2020-04-29 20:41:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/exiv2 (Old)
 and      /work/SRC/openSUSE:Factory/.exiv2.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "exiv2"

Wed Apr 29 20:41:23 2020 rev:56 rq:798137 version:0.27.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/exiv2/exiv2.changes      2019-09-05 
12:08:32.943872507 +0200
+++ /work/SRC/openSUSE:Factory/.exiv2.new.2738/exiv2.changes    2020-04-29 
20:42:11.075611706 +0200
@@ -1,0 +2,7 @@
+Fri Apr 17 11:26:29 UTC 2020 - Stefan BrĂ¼ns <[email protected]>
+
+- Use C++11 for building instead of C++98. Googletest 1.10 is no
+  longer compatible with C++98. For details, see
+  https://github.com/Exiv2/exiv2/issues/1163
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ exiv2.spec ++++++
--- /var/tmp/diff_new_pack.CTdZ0B/_old  2020-04-29 20:42:11.727613406 +0200
+++ /var/tmp/diff_new_pack.CTdZ0B/_new  2020-04-29 20:42:11.727613406 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package exiv2
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -16,11 +16,6 @@
 #
 
 
-# the tests don't work on Leap 42.x & SLE <= 12 because gmock & gtest are
-# missing
-%if 0%{?suse_version} <= 1315
-%{bcond_with tests}
-%else
 # there is a test failure on ARM & PPC
 # upstream issue: https://github.com/Exiv2/exiv2/issues/933
 %ifarch x86_64
@@ -28,7 +23,6 @@
 %else
 %{bcond_with tests}
 %endif
-%endif
 
 Name:           exiv2
 Version:        0.27.2
@@ -107,6 +101,9 @@
 
 %prep
 %autosetup -p1
+# Upstream will switch to C++11 with 0.28.0, but googletest requires C++11
+# See https://github.com/Exiv2/exiv2/issues/1163
+sed -i -e 's/CXX_STANDARD 98/CXX_STANDARD 11/' cmake/mainSetup.cmake
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects


Reply via email to