]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- do not strip files with debug information
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 20 May 2004 20:41:59 +0000 (20:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-debuginfo.patch -> 1.5

rpm-debuginfo.patch

index ad50ea1313f67400d409b3f2c7e7a24235aae52d..b57fe563f8baf60d5394e0a091f4adbbb73f6e8e 100644 (file)
@@ -1,6 +1,6 @@
 diff -urN rpm-4.3.org/macros.in rpm-4.3/macros.in
 --- rpm-4.3.org/macros.in      2004-05-20 22:09:48.582353920 +0200
-+++ rpm-4.3/macros.in  2004-05-20 22:12:42.086977208 +0200
++++ rpm-4.3/macros.in  2004-05-20 22:40:19.156064416 +0200
 @@ -118,15 +118,20 @@
  %debug_package \
  %ifnarch noarch\
@@ -39,3 +39,12 @@ diff -urN rpm-4.3.org/macros.in rpm-4.3/macros.in
  %%install\
  LANG=C\
  export LANG\
+@@ -1404,7 +1414,7 @@
+     %{?verbose:set -x;} \
+     if [ -d "$RPM_BUILD_ROOT" ]; then \
+       echo "Strip executable binaries, archives and shared object files."; \
+-      filelist=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" %{?_noautostrip:! -regex "%{_noautostrip}"}`; \
++      filelist=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" ! -regex ".*/usr/lib[0-9]*/debug/.*\.debug" %{?_noautostrip:! -regex "%{_noautostrip}"}`; \
+       elfexelist=`echo $filelist | xargs -r file | \
+               awk '/ELF.*executable/ {print $1}' | cut -d: -f1`; \
+       elfsharedlist=`echo $filelist | xargs -r file | \
This page took 0.039764 seconds and 4 git commands to generate.