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-provides.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-provides.in')
-rwxr-xr-x | find-provides.in | 6 |
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` |