]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- don't try to run chrpath on static executables
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 16 Oct 2004 12:23:41 +0000 (12:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.163

rpm.macros

index 5f293bb53440cf238b8586f3a217cd5da76f48f6..7b5822258d6940ca2ad50c279e6d1243481c9f87 100644 (file)
@@ -302,7 +302,7 @@ unset DISPLAY ||:\
 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 | \
-       awk '/ELF.*(executable|shared object)/ {print $1}' | cut -d: -f1 | \
+       awk '/ELF.*(executable.*dynamically linked|shared object)/ {print $1}' | cut -d: -f1 | \
 while read file ; do \
        rpath= ; \
        chmod u+w "$file"; \
This page took 0.149645 seconds and 4 git commands to generate.