Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package apparmor for openSUSE:Factory checked in at 2022-09-07 11:05:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apparmor (Old) and /work/SRC/openSUSE:Factory/.apparmor.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apparmor" Wed Sep 7 11:05:17 2022 rev:182 rq:1001316 version:3.0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/apparmor/apparmor.changes 2022-08-29 09:42:24.851719530 +0200 +++ /work/SRC/openSUSE:Factory/.apparmor.new.2083/apparmor.changes 2022-09-07 11:05:18.112294467 +0200 @@ -1,0 +2,6 @@ +Sun Sep 4 18:08:28 UTC 2022 - Andreas Stieger <andreas.stie...@gmx.de> + +- aa-decode: use grep -E instead of deprecated egrep (boo#1203092) + add apparmor-3.0.7-egrep.patch + +------------------------------------------------------------------- New: ---- apparmor-3.0.7-egrep.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apparmor.spec ++++++ --- /var/tmp/diff_new_pack.ziX3LL/_old 2022-09-07 11:05:18.804296226 +0200 +++ /var/tmp/diff_new_pack.ziX3LL/_new 2022-09-07 11:05:18.808296236 +0200 @@ -92,6 +92,9 @@ # allow reading /sys/devices/system/cpu/possible in dnsmasc//libvirt-leaseshelper (boo#1202849, submitted upstream 2022-08-28 https://gitlab.com/apparmor/apparmor/-/merge_requests/917) Patch12: dnsmasq-cpu-possible.diff +# avoid warnings with GNU grep 3.8 (boo#1203092, from upstream) +Patch13: apparmor-3.0.7-egrep.patch + PreReq: sed BuildRoot: %{_tmppath}/%{name}-%{version}-build %define apparmor_bin_prefix %{?usrmerged:/usr}/lib/apparmor @@ -361,6 +364,7 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 %build export SUSE_ASNEEDED=0 ++++++ apparmor-3.0.7-egrep.patch ++++++ >From e8f3a1b87853da22fa8c23c49ca876b6d6997a41 Mon Sep 17 00:00:00 2001 From: Michal Vasilek <michal.vasi...@nic.cz> Date: Tue, 24 Aug 2021 09:44:07 +0200 Subject: [PATCH] aa-decode: use grep -E instead of egrep egrep and fgrep are deprecated and will print a warning in the next grep release (3.8) https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1 Signed-off-by: Michal Vasilek <michal.vasi...@nic.cz> --- utils/aa-decode | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/aa-decode b/utils/aa-decode index 16f23b55b..35e426aff 100755 --- a/utils/aa-decode +++ b/utils/aa-decode @@ -37,7 +37,7 @@ EOM } decode() { - if echo "$1" | egrep -q "^[0-9A-Fa-f]+$" ; then + if echo "$1" | grep -E -q "^[0-9A-Fa-f]+$" ; then python3 -c "import binascii; print(bytes.decode(binascii.unhexlify('$1'), errors='strict'));" else echo "" @@ -53,7 +53,7 @@ fi # if have an argument, then use it, otherwise process stdin if [ -n "$1" ]; then e="$1" - if ! echo "$e" | egrep -q "^[0-9A-Fa-f]+$" ; then + if ! echo "$e" | grep -E -q "^[0-9A-Fa-f]+$" ; then echo "String should only contain hex characters (0-9, a-f, A-F)" exit 1 fi -- GitLab