diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-08 15:16:23 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-12 22:29:39 +0200 |
commit | 06efb215c18a0f7225f636c953f7d6bced24eee8 (patch) | |
tree | 8c77c9c5c48fb6a0ab149f2085a4c94f0a54e029 /find-provides.in | |
parent | 895ea9ff8be3fffcb38b37a18662c58a928ddbb3 (diff) | |
download | rpm-setup-06efb215c18a0f7225f636c953f7d6bced24eee8.tar rpm-setup-06efb215c18a0f7225f636c953f7d6bced24eee8.tar.gz rpm-setup-06efb215c18a0f7225f636c953f7d6bced24eee8.tar.bz2 rpm-setup-06efb215c18a0f7225f636c953f7d6bced24eee8.tar.xz rpm-setup-06efb215c18a0f7225f636c953f7d6bced24eee8.zip |
gstreamer/haskell/ruby/typelib will be managed elsewhere
we backported the needed .(attr|prov|req) files from FC/SuSe
Diffstat (limited to 'find-provides.in')
-rwxr-xr-x | find-provides.in | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/find-provides.in b/find-provides.in index 90b0c3d..b03c952 100755 --- a/find-provides.in +++ b/find-provides.in @@ -5,8 +5,6 @@ filelist=`sed "s/['\"]/\\\&/g"` -rubygemlist=$(echo "$filelist"| egrep "\.gemspec$") - # fix parsing output of objdump when localized (mga#7883): export LC_ALL=C @@ -34,21 +32,6 @@ fi && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/kmod.prov failed' >&2 && exit 1 # -# --- typelib() gobject-introspection bindings -[ -x @RPMVENDORDIR@/gi-find-deps.sh ] && - echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/gi-find-deps.sh -P | sort -u \ - && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/gi-find-deps.sh failed' >&2 && exit 1 - -[ -x /usr/lib/rpm/rpmdeps -a -n "$filelist" ] && - echo $filelist | tr '[:blank:]' \\n | /usr/lib/rpm/rpmdeps --provides - -# -# --- Ruby gems -[ -x /usr/bin/ruby -a -x @RPMVENDORDIR@/rubygems.rb -a -n "$rubygemlist" ] && - echo $rubygemlist | tr '[:blank:]' \\n | @RPMVENDORDIR@/rubygems.rb --provides | sort -u \ - && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/rubygems.rb failed' >&2 && exit 1 - -# # --- .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` @@ -57,21 +40,4 @@ for i in `echo $filelist | tr '[:blank:]' "\n" | egrep '(/usr(/X11R6)?)?/lib(|64 echo ${objd} | perl -p -e "s/.*SONAME\s+(\S+)\.so.*/devel(\1$lib64)/g" done | sort -u -# -# --- haskell provides -if [ -x /usr/bin/haskell-find-provides ]; then -echo $filelist | tr '[:blank:]' '\n' | /usr/bin/haskell-find-provides \ - && test ${PIPESTATUS[2]} -ne 0 && echo 'error: /usr/bin/haskell-find-provides failed' >&2 && exit 1 -fi - -# -# --- gstreamer modules. -[ -x @RPMVENDORDIR@/gstreamer.prov ] && - echo "$solist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/gstreamer.prov | sort -u \ - && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/gstreamer.prov failed' >&2 && exit 1 - -[ -x @RPMVENDORDIR@/gstreamer1.0.prov ] && - echo "$solist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/gstreamer1.0.prov | sort -u \ - && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/gstreamer1.0.prov failed' >&2 && exit 1 - exit 0 |