From: Paweł Sikora Date: Mon, 10 Jan 2005 14:05:25 +0000 (+0000) Subject: - don't pass debuginfo to chrpath. X-Git-Tag: deadbranch-1.2.2~7 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=c1775bee81e2522b82a3542c7ae5226828b070c6;p=packages%2Frpm.git - don't pass debuginfo to chrpath. Changed files: rpm.macros -> 1.187 --- diff --git a/rpm.macros b/rpm.macros index 544a2d6..cb082f3 100644 --- a/rpm.macros +++ b/rpm.macros @@ -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= ; \