]> git.pld-linux.org Git - packages/rpm.git/commitdiff
don't require executable bit when searching for debuginfo; rel 8 auto/th/rpm-4.16.1.3-8
authorJan Palus <atler@pld-linux.org>
Thu, 4 Nov 2021 23:30:00 +0000 (00:30 +0100)
committerJan Palus <atler@pld-linux.org>
Thu, 4 Nov 2021 23:30:00 +0000 (00:30 +0100)
no-exe-for-elf-debuginfo.patch [new file with mode: 0644]
rpm.spec

diff --git a/no-exe-for-elf-debuginfo.patch b/no-exe-for-elf-debuginfo.patch
new file mode 100644 (file)
index 0000000..70d37cd
--- /dev/null
@@ -0,0 +1,10 @@
+--- rpm-4.16.1.3/scripts/find-debuginfo.sh.orig        2021-11-05 00:19:27.239390489 +0100
++++ rpm-4.16.1.3/scripts/find-debuginfo.sh     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' |
index 2b5f88ad220193cf60f4772a00cdaefb65e54179..231690b38cc025ff7771e63744a8e3a2481188f3 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -34,7 +34,7 @@ Summary(ru.UTF-8):    Менеджер пакетов от RPM
 Summary(uk.UTF-8):     Менеджер пакетів від RPM
 Name:          rpm
 Version:       4.16.1.3
-Release:       7
+Release:       8
 Epoch:         1
 License:       GPL v2 / LGPL v2.1
 Group:         Base
@@ -94,6 +94,7 @@ Patch34:      skip-symlinks.patch
 Patch35:       pl-po.patch
 Patch36:       build-locale.patch
 Patch37:       %{name}-pl.po-update.patch
+Patch38:       no-exe-for-elf-debuginfo.patch
 URL:           https://rpm.org/
 BuildRequires: acl-devel
 %{?with_audit:BuildRequires:   audit-libs-devel}
@@ -633,6 +634,7 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
 %patch35 -p1
 %patch36 -p1
 %patch37 -p1
+%patch38 -p1
 
 %{__rm} po/*.gmo
 
This page took 0.040615 seconds and 4 git commands to generate.