]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- do not do any stripping in find-debuginfo script
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 20 May 2004 21:15:48 +0000 (21:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-debuginfo.patch -> 1.6

rpm-debuginfo.patch

index b57fe563f8baf60d5394e0a091f4adbbb73f6e8e..2d497e1e4451ba32b08dce863646ec2eb839eb73 100644 (file)
@@ -48,3 +48,24 @@ diff -urN rpm-4.3.org/macros.in rpm-4.3/macros.in
        elfexelist=`echo $filelist | xargs -r file | \
                awk '/ELF.*executable/ {print $1}' | cut -d: -f1`; \
        elfsharedlist=`echo $filelist | xargs -r file | \
+diff -urN rpm-4.3.org/scripts/find-debuginfo.sh rpm-4.3/scripts/find-debuginfo.sh
+--- rpm-4.3.org/scripts/find-debuginfo.sh      2004-05-20 22:09:25.767822256 +0200
++++ rpm-4.3/scripts/find-debuginfo.sh  2004-05-20 23:12:43.367499352 +0200
+@@ -26,12 +26,14 @@
+       mkdir -p "${debugdn}"
+       echo extracting debug info from $f
+-      /usr/lib/rpm/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug -l "$SOURCEFILE" "$f"
++      /usr/bin/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug -l "$SOURCEFILE" "$f"
+       if test -w "$f"; then
+-              eu-strip -f "${debugfn}" "$f" || :
++              eu-strip -f "${debugfn}" -o "$f.tmp" "$f" || :
++              rm -f "$f.tmp"
+       else
+               chmod u+w "$f"
+-              eu-strip -f "${debugfn}" "$f" || :
++              eu-strip -f "${debugfn}" -o "$f.tmp" "$f" || :
++              rm -f "$f.tmp"
+               chmod u-w "$f"
+       fi
+ done
This page took 0.062764 seconds and 4 git commands to generate.