aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.in
diff options
context:
space:
mode:
Diffstat (limited to 'find-provides.in')
-rwxr-xr-xfind-provides.in9
1 files changed, 0 insertions, 9 deletions
diff --git a/find-provides.in b/find-provides.in
index 4402573..11d3247 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -14,13 +14,4 @@ export LC_ALL=C
echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/kmod.prov | sort -u \
&& test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/kmod.prov 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`
- [ -h ${i} -a -n "${objd}" ] && \
- lib64=`if file -L $i 2>/dev/null | grep "ELF 64-bit" >/dev/null; then echo "(64bit)"; fi` && \
- echo ${objd} | perl -p -e "s/.*SONAME\s+(\S+)\.so.*/devel(\1$lib64)/g"
-done | sort -u
-
exit 0