]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-debuginfo.patch
- updated macros
[packages/rpm.git] / rpm-debuginfo.patch
1 --- rpm-5.3.1/scripts/find-debuginfo.sh.wiget   2009-09-10 03:52:13.000000000 +0200
2 +++ rpm-5.3.1/scripts/find-debuginfo.sh 2010-05-30 16:53:33.275994510 +0200
3 @@ -254,7 +254,10 @@ strip_to_debug()
4    $strip_glibs && case "$(file -bi "$2")" in
5      application/x-sharedlib*) g=-g ;;
6    esac
7 -  eu-strip --remove-comment $r $g ${keep_remove_args} -f "$1" "$2" || exit
8 +  local t=$(mktemp "/tmp/rpm.stripped.XXXXXX")
9 +  objcopy --compress-debug-sections "$2" || exit
10 +  eu-strip --remove-comment $r -f "$1" "$2" -o "$t" || exit
11 +  rm -f "$t"
12    chmod 444 "$1" || exit
13  }
14  
This page took 0.024181 seconds and 3 git commands to generate.