From a38145ab66d3e327d8c46f1a79609d827a52a430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Quelin?= Date: Fri, 26 Mar 2010 16:24:09 +0000 Subject: call perl.req-from-meta with the reight meta file when there are other meta.json/meta.yml files shipped in the dist. --- find-requires.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] && \ -- cgit v1.2.1