aboutsummaryrefslogtreecommitdiffstats
path: root/find-requires.in
diff options
context:
space:
mode:
Diffstat (limited to 'find-requires.in')
-rwxr-xr-xfind-requires.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/find-requires.in b/find-requires.in
index a073ed1..8bd0002 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -46,6 +46,7 @@ liblist=`echo "$filelist" | egrep -v "/usr/lib(64)?/gcj/" | xargs -r file | \
grep ":.*shared object" | cut -d : -f1`
ocamllist=`echo "$filelist" | xargs -r file | \
grep ":.*Objective caml interface file" | cut -d : -f1`
+phplist=`echo "$filelist" | grep -v /usr/doc | grep -v /usr/share/doc | egrep "\.php$"`
interplist=
perllist=
@@ -194,7 +195,7 @@ fi
#
# --- Php modules.
[ -x @RPMVENDORDIR@/php.req ] && \
- echo $filelist | tr '[:blank:]' \\n | @RPMVENDORDIR@/php.req | sort -u
+ echo $phplist | tr '[:blank:]' \\n | @RPMVENDORDIR@/php.req | sort -u
#
# --- Pkgconfig deps