Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package exiv2 for openSUSE:Factory checked in at 2023-07-01 23:17:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/exiv2 (Old) and /work/SRC/openSUSE:Factory/.exiv2.new.13546 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "exiv2" Sat Jul 1 23:17:49 2023 rev:76 rq:1096176 version:0.28.0 Changes: -------- --- /work/SRC/openSUSE:Factory/exiv2/exiv2.changes 2023-02-04 14:14:02.985089289 +0100 +++ /work/SRC/openSUSE:Factory/.exiv2.new.13546/exiv2.changes 2023-07-01 23:17:58.182230973 +0200 @@ -1,0 +2,23 @@ +Fri Jun 30 16:44:33 UTC 2023 - Dirk Müller <[email protected]> + +- add a x86-64-v3 build, remove 32bit build (not used) + +------------------------------------------------------------------- +Wed Jun 21 07:48:56 UTC 2023 - Michal Kubecek <[email protected]> + +- drop old C++ standard hack (patched line dropped in 0.28) +- use g++-11 for Leap 15 builds (fix for failed std::filesystem + check) + +------------------------------------------------------------------- +Mon Jun 19 20:06:02 UTC 2023 - Dirk Müller <[email protected]> + +- update to 0.28.0: + - long list of improvements and security fixes, see + https://github.com/Exiv2/exiv2/issues/2406#issuecomment-1529139799 +- drop always-use-signed-char-for-conversion.patch (code no longer exists) +- drop CVE-2022-3953.patch (merged upstream) +- drop xml-static subpackage, cannot be built from shared builds anymore + and appears to be unused + +------------------------------------------------------------------- Old: ---- CVE-2022-3953.patch always-use-signed-char-for-conversion.patch exiv2-0.27.6.tar.gz New: ---- exiv2-0.28.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ exiv2.spec ++++++ --- /var/tmp/diff_new_pack.Gs2zeZ/_old 2023-07-01 23:17:59.430238455 +0200 +++ /var/tmp/diff_new_pack.Gs2zeZ/_new 2023-07-01 23:17:59.434238478 +0200 @@ -18,7 +18,7 @@ %bcond_with docs Name: exiv2 -Version: 0.27.6 +Version: 0.28.0 Release: 0 Summary: Tool to access image Exif metadata License: BSD-3-Clause AND GPL-2.0-or-later @@ -27,17 +27,20 @@ Source0: https://github.com/Exiv2/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: baselibs.conf Patch0: exiv2-build-date.patch -Patch1: CVE-2022-3953.patch -Patch2: always-use-signed-char-for-conversion.patch BuildRequires: cmake BuildRequires: fdupes +%if 0%{?suse_version} < 1600 +BuildRequires: gcc11-c++ +%else BuildRequires: gcc-c++ +%endif BuildRequires: gettext-devel BuildRequires: libcurl-devel BuildRequires: libexpat-devel BuildRequires: libxslt BuildRequires: python3-base -#BuildRequires: pkgconfig(libbrotlidec) +BuildRequires: pkgconfig(inih) +BuildRequires: pkgconfig(libbrotlidec) BuildRequires: pkgconfig(zlib) Recommends: %{name}-lang = %{version} %if %{with docs} @@ -55,32 +58,25 @@ BuildRequires: gtest BuildRequires: libxml2-tools BuildRequires: which +%{?suse_build_hwcaps_libs} %description Exiv2 is a command line utility to access image metadata from tags like Exif. -%package -n libexiv2-27 +%package -n libexiv2-28 Summary: Library to access image metadata Group: System/Libraries -%description -n libexiv2-27 +%description -n libexiv2-28 libexiv2 is a C++ library with a C compatibility interface to access image metadata, esp from Exif tags. -%package -n libexiv2-xmp-static -Summary: Library required too link libexiv2 -Group: System/Libraries - -%description -n libexiv2-xmp-static -libexiv2-xmp is a static library required to link with libexiv2. - %package -n libexiv2-devel Summary: Development Headers for Exiv2 Group: Development/Libraries/C and C++ -Requires: libexiv2-27 = %{version} +Requires: libexiv2-28 = %{version} # needed by exiv2Config.cmake -Requires: libexiv2-xmp-static Requires: libexpat-devel Requires: libstdc++-devel Requires: pkgconfig(zlib) @@ -102,11 +98,11 @@ %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 +%if 0%{?suse_version} < 1600 +export CXX='g++-11' +%endif %global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)" export CFLAGS="%{optflags} $(getconf LFS_CFLAGS)" @@ -181,8 +177,8 @@ %find_lang exiv2 %fdupes -s %{buildroot}%{_docdir}/libexiv2 -%post -n libexiv2-27 -p /sbin/ldconfig -%postun -n libexiv2-27 -p /sbin/ldconfig +%post -n libexiv2-28 -p /sbin/ldconfig +%postun -n libexiv2-28 -p /sbin/ldconfig %files lang -f exiv2.lang @@ -192,16 +188,12 @@ %{_bindir}/exiv2 %{_mandir}/man1/* -%files -n libexiv2-27 +%files -n libexiv2-28 %{_libdir}/libexiv2.so.* -%files -n libexiv2-xmp-static -%{_libdir}/libexiv2-xmp.a - %files -n libexiv2-devel %{_includedir}/exiv2 %{_libdir}/libexiv2.so -# needed by exiv2Config.cmake %{_libdir}/pkgconfig/exiv2.pc %dir %{_libdir}/cmake %dir %{_libdir}/cmake/exiv2 ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.Gs2zeZ/_old 2023-07-01 23:17:59.466238671 +0200 +++ /var/tmp/diff_new_pack.Gs2zeZ/_new 2023-07-01 23:17:59.470238694 +0200 @@ -1,2 +1,3 @@ -libexiv2-27 +libexiv2-28 + targettype 32bit block! ++++++ exiv2-0.27.6.tar.gz -> exiv2-0.28.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/exiv2/exiv2-0.27.6.tar.gz /work/SRC/openSUSE:Factory/.exiv2.new.13546/exiv2-0.28.0.tar.gz differ: char 12, line 1 ++++++ exiv2-build-date.patch ++++++ --- /var/tmp/diff_new_pack.Gs2zeZ/_old 2023-07-01 23:17:59.502238886 +0200 +++ /var/tmp/diff_new_pack.Gs2zeZ/_new 2023-07-01 23:17:59.506238910 +0200 @@ -1,31 +1,34 @@ -diff -ur exiv2-0.27.1/samples/geotag.cpp exiv2-0.27.1_fix/samples/geotag.cpp ---- exiv2-0.27.1/samples/geotag.cpp 2019-04-26 11:31:16.000000000 +0200 -+++ exiv2-0.27.1_fix/samples/geotag.cpp 2019-06-06 08:55:15.756143641 +0200 -@@ -698,7 +698,7 @@ +Index: exiv2-0.28.0/samples/geotag.cpp +=================================================================== +--- exiv2-0.28.0.orig/samples/geotag.cpp ++++ exiv2-0.28.0/samples/geotag.cpp +@@ -632,7 +632,7 @@ int getFileType(const char* path, Option + } - int version(const char* program) - { -- printf("%s: %s %s\n",program,__DATE__,__TIME__); -+ printf("%s\n",program); - return 0; + int version(const char* program) { +- printf("%s: %s %s\n", program, __DATE__, __TIME__); ++ printf("%s\n", program); + return 0; } -diff -ur exiv2-0.27.1/src/version.cpp exiv2-0.27.1_fix/src/version.cpp ---- exiv2-0.27.1/src/version.cpp 2019-04-26 11:31:16.000000000 +0200 -+++ exiv2-0.27.1_fix/src/version.cpp 2019-06-06 08:55:15.780142862 +0200 -@@ -472,8 +472,6 @@ - output(os,keys,"debug" , debug ); - output(os,keys,"cplusplus" , __cplusplus); - output(os,keys,"version" , __VERSION__); -- output(os,keys,"date" , __DATE__ ); -- output(os,keys,"time" , __TIME__ ); - output(os,keys,"processpath" , Exiv2::getProcessPath()); +Index: exiv2-0.28.0/src/version.cpp +=================================================================== +--- exiv2-0.28.0.orig/src/version.cpp ++++ exiv2-0.28.0/src/version.cpp +@@ -422,8 +422,6 @@ void Exiv2::dumpLibraryInfo(std::ostream + output(os, keys, "debug", debug); + output(os, keys, "cplusplus", __cplusplus); + output(os, keys, "version", __VERSION__); +- output(os, keys, "date", __DATE__); +- output(os, keys, "time", __TIME__); + output(os, keys, "processpath", Exiv2::getProcessPath()); #ifdef EXV_ENABLE_NLS - output(os,keys,"localedir" , EXV_LOCALEDIR); -diff -ur exiv2-0.27.1/cmake/Doxyfile.in exiv2-0.27.1_fix/cmake/Doxyfile.in ---- exiv2-0.27.1/cmake/Doxyfile.in 2019-04-26 11:31:16.000000000 +0200 -+++ exiv2-0.27.1_fix/cmake/Doxyfile.in 2019-06-06 08:55:15.780142862 +0200 -@@ -1202,7 +1202,7 @@ + output(os, keys, "localedir", EXV_LOCALEDIR); +Index: exiv2-0.28.0/cmake/Doxyfile.in +=================================================================== +--- exiv2-0.28.0.orig/cmake/Doxyfile.in ++++ exiv2-0.28.0/cmake/Doxyfile.in +@@ -1202,7 +1202,7 @@ HTML_COLORSTYLE_GAMMA = 80 # The default value is: NO. # This tag requires that the tag GENERATE_HTML is set to YES.
