aboutsummaryrefslogtreecommitdiffstats
path: root/find-requires.in
diff options
context:
space:
mode:
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