aboutsummaryrefslogtreecommitdiffstats
path: root/devel.req
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-09-25 11:18:13 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-10-30 13:19:17 +0100
commitd72ff1f68f203adf1e2bb0431961a250a5198cc3 (patch)
tree097cd8f7fbd14966b45a5a6a1cd928db05e70777 /devel.req
parent641dbaed07c309dfe92d54e5a4b9bf3d3e83c4ea (diff)
downloadrpm-setup-d72ff1f68f203adf1e2bb0431961a250a5198cc3.tar
rpm-setup-d72ff1f68f203adf1e2bb0431961a250a5198cc3.tar.gz
rpm-setup-d72ff1f68f203adf1e2bb0431961a250a5198cc3.tar.bz2
rpm-setup-d72ff1f68f203adf1e2bb0431961a250a5198cc3.tar.xz
rpm-setup-d72ff1f68f203adf1e2bb0431961a250a5198cc3.zip
kill code that's dead for 11 years
Diffstat (limited to 'devel.req')
-rw-r--r--devel.req10
1 files changed, 0 insertions, 10 deletions
diff --git a/devel.req b/devel.req
index 356512c..b4982f0 100644
--- a/devel.req
+++ b/devel.req
@@ -9,19 +9,10 @@ done
# for objdump:
export LC_ALL=C
-# --- Set needed to 0 for traditional find-requires behavior.
-needed=1
-
for i in `echo $filelist | tr '[:blank:]' "\n" | egrep "(/usr)?/lib(|64)/[^/]+\.so$"`; do
objd=`objdump -p ${i} | grep SONAME`
lib64=`if file -L $i 2>/dev/null | grep "ELF 64-bit" >/dev/null; then echo "(64bit)"; fi` && \
if [ -h ${i} -a -n "${objd}" ]; then
- if [ "$needed" -eq 0 ]; then
- ldd ${i} \
- | grep -v "statically linked" \
- | grep -v "/\(lib\|lib64\)/\(ld\|ld64\|ld-linux.*\)\.so" \
- | perl -p -e "s/\s+(\S+)\.so.*/devel(\1$lib64)/g"
- else
objdump -p $i | grep -v "\(ld\|ld64\|ld-linux.*\)\.so" \
| awk 'BEGIN { START=0; }
/^$/ { START=0; }
@@ -32,7 +23,6 @@ for i in `echo $filelist | tr '[:blank:]' "\n" | egrep "(/usr)?/lib(|64)/[^/]+\.
print $2 ;
}
'
- fi
fi
done | egrep -v 'devel\(linux-gate|linux-vdso32|linux-vdso64|lib(c|pthread|rt)(\(64bit\))?\)' | sort -u