SHA256
1
0
forked from pool/debugedit

Accepting request 1001121 from home:AndreasStieger:branches:Base:System

- finddebuginfo.patch: convert obsolete egrep to grep -E
  (boo#1203092)

OBS-URL: https://build.opensuse.org/request/show/1001121
OBS-URL: https://build.opensuse.org/package/show/Base:System/debugedit?expand=0&rev=7
This commit is contained in:
Dirk Mueller 2022-09-12 07:39:01 +00:00 committed by Git OBS Bridge
parent 0eeae42a67
commit f80e8b7c18
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 4 10:29:29 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- finddebuginfo.patch: convert obsolete egrep to grep -E
(boo#1203092)
-------------------------------------------------------------------
Wed Jul 6 12:43:49 UTC 2022 - Ludwig Nussel <lnussel@suse.de>

View File

@ -14,7 +14,7 @@ Index: scripts/find-debuginfo.in
+find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*.debug" -type f \( -perm /111 -or -name "*.so*" -or -name "*.ko" \) ! -name "*.a" -print0 | LC_ALL=C sort -z |
+xargs --no-run-if-empty -0 stat -c '%h %D_%i %n' |
while read nlinks inum f; do
+ case $(objdump -h $f 2>/dev/null | egrep -o '(debug[\.a-z_]*|gnu.version)') in
+ case $(objdump -h $f 2>/dev/null | grep -E -o '(debug[\.a-z_]*|gnu.version)') in
+ *debuglink*) continue ;;
+ *debug*) ;;
+ *gnu.version*)