]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- don't pass debuginfo to chrpath.
authorPaweł Sikora <pluto@pld-linux.org>
Mon, 10 Jan 2005 14:05:25 +0000 (14:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.187

rpm.macros

index 544a2d60e1d6f42735d612b3a2ba5c89f2208a96..cb082f394c35ada0297153cb084e626b4659dde3 100644 (file)
@@ -312,7 +312,7 @@ unset DISPLAY ||:\
        %{?verbose:set -x;} \
 if [ -d "$RPM_BUILD_ROOT" ]; then \
 echo "Remove RPATH from executable binaries and shared object files."; \
-find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" %{?_noautochrpath:! -regex "%{_noautochrpath}"} | xargs -r file | \
+find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" ! -regex ".*%{_libdir}/debug/.*" %{?_noautochrpath:! -regex "%{_noautochrpath}"} | xargs -r file | \
        awk '/ELF.*(executable.*dynamically linked|shared object)/ {print $1}' | cut -d: -f1 | \
 while read file ; do \
        rpath= ; \
This page took 0.08104 seconds and 4 git commands to generate.