]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-find-php-requires
- orphaned, outdated
[packages/rpm.git] / rpm-find-php-requires
diff --git a/rpm-find-php-requires b/rpm-find-php-requires
deleted file mode 100644 (file)
index 20c7502..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-ulimit -c 0
-cd `rpm --eval %{_builddir}`
-
-filelist=`sed "s/['\"]/\\\&/g"`
-if [ -f __rpm_noautoreqfiles ] ; then
-       for i in `cat __rpm_noautoreqfiles`; do
-               filelist=`echo $filelist | sed "s![[:space:]]*$i[[:space:]]*!!g"`
-       done
-fi
-
-requires="`echo $filelist | /usr/lib/rpm/find-requires`"
-requires_php="`echo $filelist | xargs /usr/lib/rpm/php.req`"
-
-if [ -f __rpm_noautoreq ] ; then
-       for i in `cat __rpm_noautoreq`; do
-               requires_php=`echo $requires_php | sed "s!\<$i[[:space:]]*!!g"`
-       done
-fi
-
-requires_php_t="$requires_php"
-if [ -f __rpm_noautoreqdep ] ; then
-       for i in `cat __rpm_noautoreqdep`; do
-               requires_php_t=`echo $requires_php_t | sed "s!\<$i[[:space:]]*!!g"`
-       done
-fi
-
-requires_mod="`LC_ALL=C rpm -q --whatprovides --qf "%{NAME}\n"  $requires_php_t 2>/dev/null`"
-echo "$requires
-$requires_php
-$requires_mod"| grep -v "no package provides" | sort -u
This page took 0.043001 seconds and 4 git commands to generate.