]> TLD Linux GIT Repositories - packages/rpm.git/blobdiff - rpm-new-debuginfo.patch
- merged rpm-4_5 branch from PLD
[packages/rpm.git] / rpm-new-debuginfo.patch
index b7170c05c1438965499e68d2f35ec14f993eeb6e..6a3d9e5231343d24d1a469201afb1109f1e3a0f5 100644 (file)
@@ -11,7 +11,7 @@
  #     Template for debug information sub-package.
 --- rpm-4.5/scripts/find-debuginfo.sh.orig     2007-08-31 03:07:02.000000000 +0200
 +++ rpm-4.5/scripts/find-debuginfo.sh  2009-09-17 15:22:30.299290490 +0200
-@@ -1,57 +1,327 @@
+@@ -1,57 +1,328 @@
 -#!/bin/sh
 +#!/bin/bash
  #find-debuginfo.sh - automagically generate debug info and file list
  {
 -  eu-strip --remove-comment -f "$1" "$2" || :
 +  local t=$(mktemp "/tmp/rpm.stripped.XXXXXX")
++  objcopy --compress-debug-sections "$2" || exit
 +  eu-strip --remove-comment -f "$1" "$2" -o "$t" || exit
 +  rm -f "$t"
 +}