From c1775bee81e2522b82a3542c7ae5226828b070c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Mon, 10 Jan 2005 14:05:25 +0000 Subject: [PATCH] - don't pass debuginfo to chrpath. Changed files: rpm.macros -> 1.187 --- rpm.macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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= ; \ -- 2.44.0