]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- extracted from rpm-debuginfo.patch
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 22 Jun 2005 14:58:58 +0000 (14:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-macros-debuginfo.patch -> 1.1

rpm-macros-debuginfo.patch [new file with mode: 0644]

diff --git a/rpm-macros-debuginfo.patch b/rpm-macros-debuginfo.patch
new file mode 100644 (file)
index 0000000..29c0be7
--- /dev/null
@@ -0,0 +1,23 @@
+--- ./macros.in.~1~    2005-06-22 10:38:30.000000000 +0300
++++ ./macros.in        2005-06-22 10:38:30.000000000 +0300
+@@ -132,7 +132,10 @@
+ unset LINGUAS ||:\
+ %{nil}
+-%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
++%install \
++%if 0%{?_enable_debug_packages}\
++%{?buildsubdir:%{debug_package}}\
++%endif\
+ %%install\
+ LANG=C\
+ export LANG\
+@@ -296,7 +299,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.038373 seconds and 4 git commands to generate.