aboutsummaryrefslogtreecommitdiffstats
path: root/find-requires.in
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-03-21 03:41:53 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-03-21 03:41:53 +0000
commit9b6e7da47e8a648ea39281a2f7b037c69f1befbc (patch)
treefdc843d61d18acafc6bb12615185a208bcbdbbe3 /find-requires.in
parent7b1110dddfc104f986bd979d5a411c713dd0962d (diff)
downloadrpm-setup-9b6e7da47e8a648ea39281a2f7b037c69f1befbc.tar
rpm-setup-9b6e7da47e8a648ea39281a2f7b037c69f1befbc.tar.gz
rpm-setup-9b6e7da47e8a648ea39281a2f7b037c69f1befbc.tar.bz2
rpm-setup-9b6e7da47e8a648ea39281a2f7b037c69f1befbc.tar.xz
rpm-setup-9b6e7da47e8a648ea39281a2f7b037c69f1befbc.zip
add rubygem(...) dependency extractor (disabled for now)
Diffstat (limited to 'find-requires.in')
-rwxr-xr-xfind-requires.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/find-requires.in b/find-requires.in
index 9d5e841..dbadb0b 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -52,6 +52,7 @@ interplist=
perllist=
pythonlist=
tcllist=
+rubygemlist=`echo "$filelist"| egrep "\.gemspec$"`
uniqdeplist=
@@ -234,6 +235,11 @@ if [ -n "$LIBTOOLDEP" ]; then
fi
#
+# --- Ruby gems
+#[ -x @RPMVENDORDIR@/rubygems.rb -a -n "$rubygemlist" ] &&
+# echo $rubygemlist | tr '[:blank:]' \\n | @RPMVENDORDIR@/rubygems.rb --requires | sort -u
+
+#
# --- .so files.
for i in `echo $filelist | tr '[:blank:]' "\n" | egrep "(/usr(/X11R6)?)?/lib(|64)/[^/]+\.so$"`; do
objd=`objdump -p ${i} | grep SONAME`