aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.in
diff options
context:
space:
mode:
Diffstat (limited to 'find-provides.in')
-rwxr-xr-xfind-provides.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/find-provides.in b/find-provides.in
index 23c9296..90d7d7e 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -9,6 +9,7 @@ solist=$(echo "$filelist" | egrep -v "^/lib/ld\.so|/usr/lib(64)?/gcj/" | egrep '
xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1)
pythonlist=
tcllist=
+rubygemlist=$(echo "$filelist"| egrep "\.gemspec$")
#
# --- Alpha does not mark 64bit dependencies
@@ -82,6 +83,11 @@ if [ -n "$LIBTOOLDEP" ]; then
fi
#
+# --- Ruby gems
+#[ -x @RPMVENDORDIR@/rubygems.rb -a -n "$rubygemlist" ] &&
+# echo $rubygemlist | tr '[:blank:]' \\n | @RPMVENDORDIR@/rubygems.rb --provides | sort -u
+
+#
# --- .so files.
for i in `echo $filelist | tr '[:blank:]' "\n" | egrep '(/usr(/X11R6)?)?/lib(|64)(/gcc(-lib)?/.+)?/[^/]+\.so$'`; do
objd=`objdump -p ${i} | grep SONAME`