rpm/rpm-5.2.1-brp_strip_shared.patch

19 lines
809 B
Diff
Raw Permalink Normal View History

diff -Nru rpm-5.2.1.orig/scripts/brp-strip-shared rpm-5.2.1/scripts/brp-strip-shared
--- rpm-5.2.1.orig/scripts/brp-strip-shared 2007-06-20 18:56:47.000000000 +0200
+++ rpm-5.2.1/scripts/brp-strip-shared 2010-07-26 15:40:38.510732998 +0200
@@ -22,5 +22,5 @@
grep -v "^${RPM_BUILD_ROOT}/\?usr/lib/debug" | \
grep ' shared object,' | \
sed -n -e 's/^\(.*\):[ ]*ELF.*, not stripped/\1/p'`; do
- $STRIP --strip-unneeded "$f"
+ $STRIP -g "$f"
done
diff -Nru rpm-5.2.1.orig//scripts/brp-strip-shared rpm-5.2.1/scripts/brp-strip-shared
--- rpm-5.2.1.orig//scripts/brp-strip-shared 2010-08-23 14:14:37.334358282 +0200
+++ rpm-5.2.1/scripts/brp-strip-shared 2010-08-23 14:17:14.416357981 +0200
@@ -24,3 +24,4 @@
sed -n -e 's/^\(.*\):[ ]*ELF.*, not stripped/\1/p'`; do
$STRIP -g "$f"
done
+exit 0