]> git.pld-linux.org Git - packages/debugedit.git/commitdiff
make debuginfo extraction applicable to shared objects and executables only; rel 3 auto/th/debugedit-5.0-3
authorJan Palus <atler@pld-linux.org>
Tue, 16 Aug 2022 20:58:19 +0000 (22:58 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 16 Aug 2022 20:59:07 +0000 (22:59 +0200)
debugedit.spec
no-exe-for-elf-debuginfo.patch

index 570e3d70a6e57c368b58c9dd30fd525a47b6b75d..d02ecae5d1c41173601b265014f5f8c1a1e4f965 100644 (file)
@@ -6,7 +6,7 @@ Summary:        Tools for debuginfo creation
 Summary(pl.UTF-8):     Narzędzia do tworzenia plików z danymi dla debuggerów
 Name:          debugedit
 Version:       5.0
-Release:       2
+Release:       3
 License:       GPL v3+, GPL v2+
 Group:         Development/Tools
 Source0:       https://sourceware.org/ftp/debugedit/%{version}/%{name}-%{version}.tar.xz
index 3c85c4fbdb7671132dd4ad8ed57b4aeb03c9f1d4..4c996362ccc3d0fc1fb32d58038dd5a97bb0cb6d 100644 (file)
@@ -1,10 +1,13 @@
---- rpm-4.16.1.3/scripts/find-debuginfo.in.orig        2021-11-05 00:19:27.239390489 +0100
-+++ rpm-4.16.1.3/scripts/find-debuginfo.in     2021-11-05 00:21:27.102128386 +0100
-@@ -352,7 +352,6 @@
+--- debugedit-5.0/scripts/find-debuginfo.in.orig       2021-07-27 01:05:31.867817624 +0200
++++ debugedit-5.0/scripts/find-debuginfo.in    2022-08-16 21:51:22.254424409 +0200
+@@ -413,9 +413,8 @@
  # Build a list of unstripped ELF files and their hardlinks
  touch "$temp/primary"
  find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*.debug" -type f \
 -                   \( -perm -0100 -or -perm -0010 -or -perm -0001 \) \
                     -print | LC_ALL=C sort |
- file -N -f - | sed -n -e 's/^\(.*\):[         ]*.*ELF.*, not stripped.*/\1/p' |
+-file -N -f - | sed -n -e 's/^\(.*\):[         ]*.*ELF.*, not stripped.*/\1/p' |
++file -N -f - | sed -n -e 's/^\(.*\):[         ]*.*ELF.*\(executable\|shared object\).*, not stripped.*/\1/p' |
  xargs --no-run-if-empty stat -c '%h %D_%i %n' |
+ while read nlinks inum f; do
+   if [ $nlinks -gt 1 ]; then
This page took 0.246083 seconds and 4 git commands to generate.