aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.in
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-09-08 17:49:24 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-12 22:31:08 +0200
commitca5b97da228627efcc4be82eaae016f68535f6d9 (patch)
treeedf4b93d62d8f4cd9238c66acfd1aaea92668a7f /find-provides.in
parent562b734c42ca3dc181f5f4cf4b9dff4a4e1265b0 (diff)
downloadrpm-setup-ca5b97da228627efcc4be82eaae016f68535f6d9.tar
rpm-setup-ca5b97da228627efcc4be82eaae016f68535f6d9.tar.gz
rpm-setup-ca5b97da228627efcc4be82eaae016f68535f6d9.tar.bz2
rpm-setup-ca5b97da228627efcc4be82eaae016f68535f6d9.tar.xz
rpm-setup-ca5b97da228627efcc4be82eaae016f68535f6d9.zip
convert devel(foo) deps to internal generator
also kill X11R6 path btw (killed years ago)
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