aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.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-provides.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-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 \