Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package log4shib for openSUSE:Factory checked in at 2021-07-21 19:06:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/log4shib (Old) and /work/SRC/openSUSE:Factory/.log4shib.new.2632 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "log4shib" Wed Jul 21 19:06:37 2021 rev:6 rq:907462 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/log4shib/log4shib.changes 2020-12-03 18:44:04.622264551 +0100 +++ /work/SRC/openSUSE:Factory/.log4shib.new.2632/log4shib.changes 2021-07-21 19:07:52.095446661 +0200 @@ -1,0 +2,5 @@ +Wed Jul 21 09:56:01 UTC 2021 - Danilo Spinella <danilo.spine...@suse.com> + +- Fix build on GCC-11. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ log4shib.spec ++++++ --- /var/tmp/diff_new_pack.O3VZ88/_old 2021-07-21 19:07:52.519447398 +0200 +++ /var/tmp/diff_new_pack.O3VZ88/_new 2021-07-21 19:07:52.523447406 +0200 @@ -1,7 +1,7 @@ # # spec file for package log4shib # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -67,6 +67,9 @@ %patch0 -p1 %build +# The default C++ standard used in GCC-11 is C++17, +# which does not support log4shib codebase. +export CXXFLAGS="-std=c++11 %{optflags}" %configure \ --disable-static \ --enable-doxygen @@ -84,6 +87,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %post -n liblog4shib%{libvers} -p /sbin/ldconfig + %post -n liblog4shib-devel if test "x$RPM_INSTALL_PREFIX0" != "x" ; then perl -pi -e"s|^prefix=\"[^\"]*\"|prefix=\"$RPM_INSTALL_PREFIX0\"|" $RPM_INSTALL_PREFIX0/bin/log4shib-config