Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dwz for openSUSE:Factory checked in 
at 2022-09-10 20:16:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dwz (Old)
 and      /work/SRC/openSUSE:Factory/.dwz.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dwz"

Sat Sep 10 20:16:35 2022 rev:20 rq:1002177 version:0.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/dwz/dwz.changes  2022-05-01 18:53:22.135150729 
+0200
+++ /work/SRC/openSUSE:Factory/.dwz.new.2083/dwz.changes        2022-09-10 
20:16:36.736724210 +0200
@@ -1,0 +2,6 @@
+Thu Sep  8 17:53:27 UTC 2022 - Martin Li??ka <[email protected]>
+
+- Add dwz-use-grep-E-instead-of-egrep.patch in order
+  to fix build with latest grep package.
+
+-------------------------------------------------------------------

New:
----
  dwz-use-grep-E-instead-of-egrep.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dwz.spec ++++++
--- /var/tmp/diff_new_pack.PYXDHg/_old  2022-09-10 20:16:37.484726133 +0200
+++ /var/tmp/diff_new_pack.PYXDHg/_new  2022-09-10 20:16:37.492726154 +0200
@@ -83,6 +83,7 @@
 Patch3:         dwz-enable-odr-by-default.patch
 Patch4:         dwz-testsuite-fix-pr27463.sh-on-riscv64.patch
 Patch5:         dwz-remove-odr-struct-multifile.sh.patch
+Patch6:         dwz-use-grep-E-instead-of-egrep.patch
 
 %if %{build_main}
 %description
@@ -116,6 +117,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 cp ../../SOURCES/tramp3d-v4.cpp.xz .
 xz -d tramp3d-v4.cpp.xz
 

++++++ dwz-use-grep-E-instead-of-egrep.patch ++++++
>From a57177980a05f0f84bf290ab7b68f73c0f78053f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Li=C5=A1ka?= <[email protected]>
Date: Wed, 7 Sep 2022 21:55:03 +0200
Subject: [PATCH] Use grep -E instead of egrep.

egrep is obsoleted starting with GNU Grep 3.8.
diff --git a/contrib/bytes-per-die.sh b/contrib/bytes-per-die.sh
index 969f733..fda8998 100755
--- a/contrib/bytes-per-die.sh
+++ b/contrib/bytes-per-die.sh
@@ -3,7 +3,7 @@
 f="$1"
 
 size=$(readelf -WS "$f" \
-          | egrep "[ \t]\.debug_info" \
+          | grep -E "[ \t]\.debug_info" \
           | sed 's/.*\.debug_info//' \
           | awk '{print $4}')
 size=$((16#$size))
diff --git a/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh 
b/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
index 7f1e174..71d8518 100644
--- a/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
+++ b/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
@@ -7,7 +7,7 @@ $execs/dwz-for-test \
     1 2 \
     2> dwz.err
 
-if egrep -q "Compressing (1|2)$" dwz.err; then
+if grep -Eq "Compressing (1|2)$" dwz.err; then
     exit 1
 fi
 

Reply via email to