]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-find-requires
- proper version is back
[packages/rpm.git] / rpm-find-requires
index 4f17454840d1d958c5e9d85d82d166847cc6c01b..6f2331b643921473dca6dad1edc8ec214b570d81 100755 (executable)
@@ -25,16 +25,12 @@ elfliblist=`echo $liblist | xargs -r file | egrep  ":.* ELF" | cut -d: -f1 `
 aoutliblist=`echo $liblist | xargs -r file | egrep  -v ":.* ELF" | cut -d: -f1 `
 
 aoutexerequires=`for f in $aoutexelist; do
-    if [ -x $f ]; then
        ldd $f | awk '/=>/ { print $1 }'
-    fi
 done | sort -u | sed "s/['\"]/\\\&/g" | xargs -r -n 1 basename | grep -v 'libNoVersion.so' | sort -u
 `
 
 elfexerequires=`for f in $elfexelist; do 
-    if [ -x $f ]; then
        objdump -p $f|awk '/NEEDED/ {print $2}'
-    fi
 done | sed "s/['\"]/\\\&/g" | grep -v 'libNoVersion.so' | sort -u
 `
                
This page took 0.113183 seconds and 4 git commands to generate.