Blame rpm-4.11.x-fix-debuginfo-creation.patch

b2f15d1
From 659614aeb6fffe3b249c12b442bd85129100f73b Mon Sep 17 00:00:00 2001
b2f15d1
From: Pascal Terjan <pterjan@gmail.com>
b2f15d1
Date: Mon, 16 Feb 2015 13:08:50 +0100
b2f15d1
Subject: [PATCH] Fix debuginfo creation for changed file output.
b2f15d1
b2f15d1
file will print a "warning" that it only processed up to 256 notes.
b2f15d1
Fixes: http://rpm.org/ticket/887
b2f15d1
---
b2f15d1
 scripts/find-debuginfo.sh | 2 +-
b2f15d1
 1 file changed, 1 insertion(+), 1 deletion(-)
b2f15d1
b2f15d1
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
b2f15d1
index 57449f7..264fad5 100644
b2f15d1
--- a/scripts/find-debuginfo.sh
b2f15d1
+++ b/scripts/find-debuginfo.sh
b2f15d1
@@ -205,7 +205,7 @@ $strict || strict_error=WARNING
b2f15d1
 find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*.debug" -type f \
b2f15d1
      		     \( -perm -0100 -or -perm -0010 -or -perm -0001 \) \
b2f15d1
 		     -print |
b2f15d1
-file -N -f - | sed -n -e 's/^\(.*\):[ 	]*.*ELF.*, not stripped/\1/p' |
b2f15d1
+file -N -f - | sed -n -e 's/^\(.*\):[ 	]*.*ELF.*, not stripped.*/\1/p' |
b2f15d1
 xargs --no-run-if-empty stat -c '%h %D_%i %n' |
b2f15d1
 while read nlinks inum f; do
b2f15d1
   get_debugfn "$f"
b2f15d1
-- 
b2f15d1
2.1.0
b2f15d1