aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.in
diff options
context:
space:
mode:
Diffstat (limited to 'find-provides.in')
-rwxr-xr-xfind-provides.in34
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