Hello community, here is the log from the commit of package p7zip for openSUSE:Factory checked in at 2020-03-12 22:58:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/p7zip (Old) and /work/SRC/openSUSE:Factory/.p7zip.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "p7zip" Thu Mar 12 22:58:38 2020 rev:41 rq:783221 version:16.02 Changes: -------- --- /work/SRC/openSUSE:Factory/p7zip/p7zip.changes 2019-10-18 14:30:38.688675148 +0200 +++ /work/SRC/openSUSE:Factory/.p7zip.new.3160/p7zip.changes 2020-03-12 22:58:57.291006244 +0100 @@ -1,0 +2,6 @@ +Tue Mar 10 09:08:28 UTC 2020 - Martin Liška <[email protected]> + +- Add -Wno-error=narrowing in order to fix boo#1158195. +- Use %make_build. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ p7zip.spec ++++++ --- /var/tmp/diff_new_pack.6HKWEM/_old 2020-03-12 22:58:57.851006467 +0100 +++ /var/tmp/diff_new_pack.6HKWEM/_new 2020-03-12 22:58:57.851006467 +0100 @@ -1,7 +1,7 @@ # # spec file for package p7zip # -# 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 @@ -27,7 +27,7 @@ Summary: 7-zip file compression program License: LGPL-2.1-or-later Group: Productivity/Archiving/Compression -Url: http://p7zip.sourceforge.net/ +URL: http://p7zip.sourceforge.net/ # Update note: RAR sources need to be removed from the package because of the incompatible licence # Run the following commands after each package update to remove them # export VERSION=16.02 @@ -151,9 +151,9 @@ pushd CPP/7zip/CMAKE/ ./generate.sh popd -make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing -Wl,-z,now -fPIC -pie" all3 7zG +%make_build OPTFLAGS="%{optflags} -fno-strict-aliasing -Wl,-z,now -fPIC -pie -Wno-error=narrowing" all3 7zG %else -make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing -Wl,-z,now -fPIC -pie" all3 +%make_build OPTFLAGS="%{optflags} -fno-strict-aliasing -Wl,-z,now -fPIC -pie -Wno-error=narrowing" all3 %endif %install @@ -190,9 +190,9 @@ %check %if ! 0%{?qemu_user_space_build} -make %{?_smp_mflags} test -make %{?_smp_mflags} test_7z -make %{?_smp_mflags} test_7zr +%make_build test +%make_build test_7z +%make_build test_7zr %endif %if %{with buildgui}
