aboutsummaryrefslogtreecommitdiffstats
path: root/find-requires.in
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-09-08 16:42:13 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-12 22:29:41 +0200
commita3ac89871102bb2697e2b38a637826d33f80add9 (patch)
tree453c2713bc931b9ba26538867309e31924122e0a /find-requires.in
parent06efb215c18a0f7225f636c953f7d6bced24eee8 (diff)
downloadrpm-setup-a3ac89871102bb2697e2b38a637826d33f80add9.tar
rpm-setup-a3ac89871102bb2697e2b38a637826d33f80add9.tar.gz
rpm-setup-a3ac89871102bb2697e2b38a637826d33f80add9.tar.bz2
rpm-setup-a3ac89871102bb2697e2b38a637826d33f80add9.tar.xz
rpm-setup-a3ac89871102bb2697e2b38a637826d33f80add9.zip
convert "perlapi" deps to internal generator
Diffstat (limited to 'find-requires.in')
-rwxr-xr-xfind-requires.in16
1 files changed, 0 insertions, 16 deletions
diff --git a/find-requires.in b/find-requires.in
index 377389b..5f3335f 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -40,22 +40,6 @@ fi
#
filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"`
-#
-# --- If libperl.so exists and if XS modules are found, depend on perlapi-<version> and libperl.so
-if [ -n "$perllist" ]; then
- if perl -V:useshrplib | grep -q true ; then
- if echo $perllist | grep -q `perl -MConfig -e 'print $Config{archname}'` ; then
- version=`perl -MConfig -e 'print $Config{version}'`
- echo perlapi-$version
-
- f=`perl -MConfig -e 'print $Config{archlib}'`/CORE/libperl.so
- lib64=`if file -L $f 2>/dev/null | \
- grep "ELF 64-bit" >/dev/null; then echo "()$mark64"; fi`
- echo libperl.so$lib64
- fi
- fi
-fi
-
[ -x /usr/lib/rpm/rpmdeps -a -n "$filelist" ] && \
echo $filelist | tr '[:blank:]' \\n | /usr/lib/rpm/rpmdeps --requires