X-Git-Url: https://git.tld-linux.org/?p=packages%2Frpm.git;a=blobdiff_plain;f=no-exe-for-elf-debuginfo.patch;fp=no-exe-for-elf-debuginfo.patch;h=70d37cd8ac5b28b82f8edecc32c2ea1ff08ec47d;hp=0000000000000000000000000000000000000000;hb=9f7604c802af4f19ce45ac8c781dca1a1efe01e1;hpb=2da2e08da47118981f1c689c694a75121d836881 diff --git a/no-exe-for-elf-debuginfo.patch b/no-exe-for-elf-debuginfo.patch new file mode 100644 index 0000000..70d37cd --- /dev/null +++ b/no-exe-for-elf-debuginfo.patch @@ -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' |