diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-03-21 03:41:53 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-03-21 03:41:53 +0000 |
commit | 9b6e7da47e8a648ea39281a2f7b037c69f1befbc (patch) | |
tree | fdc843d61d18acafc6bb12615185a208bcbdbbe3 /find-requires.in | |
parent | 7b1110dddfc104f986bd979d5a411c713dd0962d (diff) | |
download | rpm-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-x | find-requires.in | 6 |
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` |