]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- cannot rely on _libdir macro here
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 16 Jan 2005 18:31:49 +0000 (18:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.188

rpm.macros

index cb082f394c35ada0297153cb084e626b4659dde3..dcf1f4b15c96fdbc813f863c938cc48e05fb1f23 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.*" ! -regex ".*%{_libdir}/debug/.*" %{?_noautochrpath:! -regex "%{_noautochrpath}"} | xargs -r file | \
+find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*" ! -regex ".*/usr/lib[0-9]*/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.049146 seconds and 4 git commands to generate.