aboutsummaryrefslogtreecommitdiffstats
path: root/find-requires.in
diff options
context:
space:
mode:
authorJérôme Quelin <jquelin@mandriva.org>2010-03-26 16:24:09 +0000
committerJérôme Quelin <jquelin@mandriva.org>2010-03-26 16:24:09 +0000
commita38145ab66d3e327d8c46f1a79609d827a52a430 (patch)
tree16da43d73ef8b1b166e8ea25447cd28e74028582 /find-requires.in
parent3eda285d162cd6a2edf2f69cee861566b0e7f443 (diff)
downloadrpm-setup-a38145ab66d3e327d8c46f1a79609d827a52a430.tar
rpm-setup-a38145ab66d3e327d8c46f1a79609d827a52a430.tar.gz
rpm-setup-a38145ab66d3e327d8c46f1a79609d827a52a430.tar.bz2
rpm-setup-a38145ab66d3e327d8c46f1a79609d827a52a430.tar.xz
rpm-setup-a38145ab66d3e327d8c46f1a79609d827a52a430.zip
call perl.req-from-meta with the reight meta file when there are other
meta.json/meta.yml files shipped in the dist.
Diffstat (limited to 'find-requires.in')
-rwxr-xr-xfind-requires.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-requires.in b/find-requires.in
index dbadb0b..2415889 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -179,7 +179,7 @@ fi
#
# --- Perl modules.
-perlmeta=$( echo $filelist | tr '[:blank:]' \\n | egrep '/META.(yml|json)$' | head -1 )
+perlmeta=$( echo $filelist | tr '[:blank:]' \\n | egrep 'doc/[^/]+/META.(yml|json)$' | head -1 )
if [ -n "$perlmeta" ]
then
[ -x @RPMVENDORDIR@/perl.req-from-meta ] && \