[packages/debugedit] bring back patch from rpm 4.16 for no exe bit when searching debuginfo; rel 2
atler
atler at pld-linux.org
Tue Jun 7 11:40:18 CEST 2022
commit bd392272c04d608257eb999670d85261d5125d93
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Jun 7 11:39:01 2022 +0200
bring back patch from rpm 4.16 for no exe bit when searching debuginfo; rel 2
debugedit.spec | 4 +++-
no-exe-for-elf-debuginfo.patch | 10 ++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/debugedit.spec b/debugedit.spec
index 6869de6..def0532 100644
--- a/debugedit.spec
+++ b/debugedit.spec
@@ -5,12 +5,13 @@
Summary: Tools for debuginfo creation
Name: debugedit
Version: 5.0
-Release: 1
+Release: 2
License: GPL v2/LGPL
Group: Applications
Source0: https://sourceware.org/ftp/debugedit/%{version}/%{name}-%{version}.tar.xz
# Source0-md5: 9961a1ae59b6417d27e3a646dc4078b7
Patch0: 0001-tests-Handle-zero-directory-entry-in-.debug_line-DWA.patch
+Patch1: no-exe-for-elf-debuginfo.patch
URL: https://sourceware.org/debugedit/
BuildRequires: autoconf
BuildRequires: automake
@@ -37,6 +38,7 @@ in DWARF data for debugging, tracing and profiling.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__aclocal}
diff --git a/no-exe-for-elf-debuginfo.patch b/no-exe-for-elf-debuginfo.patch
new file mode 100644
index 0000000..3c85c4f
--- /dev/null
+++ b/no-exe-for-elf-debuginfo.patch
@@ -0,0 +1,10 @@
+--- 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 @@
+ # 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' |
+ xargs --no-run-if-empty stat -c '%h %D_%i %n' |
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/debugedit.git/commitdiff/fefd8d2fea8237cac6684b51b096c9cf49bf209f
More information about the pld-cvs-commit
mailing list