aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-24 18:03:57 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-24 18:03:57 +0000
commitcfa17f139d6cbd0342f1298a468fae9c6266ad20 (patch)
tree53e5ef25c5e0fafb5cb2ebe46ebdf4c8cf03a589
parent6fa90611b7402ce0231368af67528fdab6419250 (diff)
downloadrpm-setup-cfa17f139d6cbd0342f1298a468fae9c6266ad20.tar
rpm-setup-cfa17f139d6cbd0342f1298a468fae9c6266ad20.tar.gz
rpm-setup-cfa17f139d6cbd0342f1298a468fae9c6266ad20.tar.bz2
rpm-setup-cfa17f139d6cbd0342f1298a468fae9c6266ad20.tar.xz
rpm-setup-cfa17f139d6cbd0342f1298a468fae9c6266ad20.zip
Don't provide .so files that aren't in standard paths
-rwxr-xr-xfind-provides.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-provides.in b/find-provides.in
index 8f32dad..428896c 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -5,7 +5,7 @@
filelist=`sed "s/['\"]/\\\&/g"`
-solist=$(echo "$filelist" | grep -v "^/lib/ld\.so" | egrep '(/usr(/X11R6)?)?/lib(64)?/.*\.so' | \
+solist=$(echo "$filelist" | grep -v "^/lib/ld\.so" | egrep '(/usr(/X11R6)?)?/lib(64)?/[^/]+\.so' | \
xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1)
pythonlist=
tcllist=