aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.in
diff options
context:
space:
mode:
Diffstat (limited to 'find-provides.in')
-rwxr-xr-xfind-provides.in17
1 files changed, 0 insertions, 17 deletions
diff --git a/find-provides.in b/find-provides.in
index b03c952..4402573 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -9,23 +9,6 @@ filelist=`sed "s/['\"]/\\\&/g"`
export LC_ALL=C
#
-# --- If libperl.so is found in buildroot, we provide perlapi-<version>
-if [ -n "`echo $filelist | grep -e '/CORE/libperl\.so'`" ]; then
- for i in $filelist; do
- if [ -n "`echo $i | grep -e '/CORE/libperl\.so\$'`" ]; then
- perlpath=$i
- version=${i/CORE*/}
- version=$(echo $version| sed -e 's!/$!!' -e 's!/[^/]*$!!' -e 's!.*/!!')
- minor=$(echo $version| sed -e 's!^.*\.!!')
- major=$(echo $version| sed -e 's!\.[0-9]*$!!')
- if [ -n "$version" ] && [ -n "$minor" ]; then
- for i in $(seq 0 $minor); do echo "perlapi-$major.$i"; done
- fi
- fi
- done
-fi
-
-#
# --- Kernel modules.
[ -x @RPMVENDORDIR@/kmod.prov ] &&
echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/kmod.prov | sort -u \