Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package usbguard for openSUSE:Factory checked in at 2022-02-25 21:25:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/usbguard (Old) and /work/SRC/openSUSE:Factory/.usbguard.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "usbguard" Fri Feb 25 21:25:16 2022 rev:15 rq:957613 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/usbguard/usbguard.changes 2022-02-24 18:24:48.842637220 +0100 +++ /work/SRC/openSUSE:Factory/.usbguard.new.1958/usbguard.changes 2022-02-25 21:25:49.431646361 +0100 @@ -1,0 +2,5 @@ +Fri Feb 25 10:43:56 UTC 2022 - Robert Frohl <rfr...@suse.com> + +- Fix build for Leap and SLE by using newer gcc version + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ usbguard.spec ++++++ --- /var/tmp/diff_new_pack.A2R3Hx/_old 2022-02-25 21:25:49.999646463 +0100 +++ /var/tmp/diff_new_pack.A2R3Hx/_new 2022-02-25 21:25:50.003646463 +0100 @@ -39,7 +39,11 @@ BuildRequires: automake BuildRequires: bash-completion-devel BuildRequires: dbus-1-glib-devel +%if 0%{?suse_version} == 1500 +BuildRequires: gcc10-c++ +%else BuildRequires: gcc-c++ +%endif BuildRequires: libcap-ng-devel BuildRequires: libqb-devel BuildRequires: libseccomp-devel @@ -94,6 +98,12 @@ %patch0 -p1 %build +%if 0%{?suse_version} == 1500 +export CXX=g++-10 +# gcc10 has no gcc10-PIE yet, enforce manually (see boo#1195628 for progress) +export CPPFLAGS='-fPIE' +export LDFLAGS='-pie' +%endif mkdir -p ./m4 autoreconf -i -s --no-recursive ./