summaryrefslogtreecommitdiff
path: root/scripts/find-php-provides
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/find-php-provides')
-rw-r--r--scripts/find-php-provides20
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/find-php-provides b/scripts/find-php-provides
deleted file mode 100644
index 02e0c42e7..000000000
--- a/scripts/find-php-provides
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-cd `rpm --eval %{_builddir}`
-
-filelist=`sed "s/['\"]/\\\&/g"`
-if [ -f __rpm_noautoprovfiles ] ; then
- for i in `cat __rpm_noautoprovfiles`; do
- filelist=`echo $filelist | sed "s![[:space:]]*$i[[:space:]]*!!g"`
- done
-fi
-
-
-echo $filelist|/usr/lib/rpm/find-provides
-provides_php=`echo $filelist | xargs /usr/lib/rpm/php.prov`
-if [ -f __rpm_noautoprov ] ; then
- for i in `cat __rpm_noautoprov`; do
- provides_php=`echo $provides_php | sed "s!\<$i[[:space:]]*!!g"`
- done
-fi
-
-echo "$provides_php"