Hello community, here is the log from the commit of package exiv2 for openSUSE:Factory checked in at 2020-08-28 23:44:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/exiv2 (Old) and /work/SRC/openSUSE:Factory/.exiv2.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "exiv2" Fri Aug 28 23:44:41 2020 rev:58 rq:828554 version:0.27.3 Changes: -------- --- /work/SRC/openSUSE:Factory/exiv2/exiv2.changes 2020-08-19 18:46:47.759527434 +0200 +++ /work/SRC/openSUSE:Factory/.exiv2.new.3399/exiv2.changes 2020-08-28 23:44:48.735508170 +0200 @@ -1,0 +2,6 @@ +Thu Aug 20 09:36:07 UTC 2020 - Guillaume GARDET <[email protected]> + +- Fix build on non-x86 by dropping -fcf-protection flag + on non-x86 architectures + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ exiv2.spec ++++++ --- /var/tmp/diff_new_pack.gY2Par/_old 2020-08-28 23:44:50.183507242 +0200 +++ /var/tmp/diff_new_pack.gY2Par/_new 2020-08-28 23:44:50.187507240 +0200 @@ -16,14 +16,6 @@ # -# there is a test failure on ARM & PPC -# upstream issue: https://github.com/Exiv2/exiv2/issues/933 -%ifarch x86_64 -%{bcond_without tests} -%else -%{bcond_with tests} -%endif - Name: exiv2 Version: 0.27.3 Release: 0 @@ -46,6 +38,14 @@ BuildRequires: libxslt BuildRequires: python3-base BuildRequires: zlib-devel +Recommends: %{name}-lang = %{version} +# there is a test failure on ARM & PPC +# upstream issue: https://github.com/Exiv2/exiv2/issues/933 +%ifarch x86_64 +%{bcond_without tests} +%else +%{bcond_with tests} +%endif %if %{with tests} # testsuite: BuildRequires: dos2unix @@ -54,7 +54,6 @@ BuildRequires: libxml2-tools BuildRequires: which %endif -Recommends: %{name}-lang = %{version} %description Exiv2 is a command line utility to access image metadata from tags like @@ -104,6 +103,10 @@ # 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 +%ifnarch %{ix86} x86_64 +# Drop -fcf-protection flag on architectures which do not support it +sed -i -e 's/-fcf-protection//' cmake/compilerFlags.cmake +%endif %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects @@ -172,7 +175,7 @@ xmpsample \ ; do rm -f %{buildroot}%{_bindir}/${t} - rm -f %{buildroot}/usr/lib/debug%{_bindir}/${t}* + rm -f %{buildroot}%{_prefix}/lib/debug%{_bindir}/${t}* done %endif
