aboutsummaryrefslogtreecommitdiffstats
path: root/find-requires.in
diff options
context:
space:
mode:
authorJérôme Quelin <jquelin@mandriva.org>2010-02-10 16:45:41 +0000
committerJérôme Quelin <jquelin@mandriva.org>2010-02-10 16:45:41 +0000
commit01eb051d4af0b9b322b8a21762b5a3f11047024e (patch)
tree947119554b73725e23ef08d76b6c2e42f9865410 /find-requires.in
parent7770611e745f20814ff34569608edd630b8ab079 (diff)
downloadrpm-setup-01eb051d4af0b9b322b8a21762b5a3f11047024e.tar
rpm-setup-01eb051d4af0b9b322b8a21762b5a3f11047024e.tar.gz
rpm-setup-01eb051d4af0b9b322b8a21762b5a3f11047024e.tar.bz2
rpm-setup-01eb051d4af0b9b322b8a21762b5a3f11047024e.tar.xz
rpm-setup-01eb051d4af0b9b322b8a21762b5a3f11047024e.zip
reverting commit r266103
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 0ef6d51..66e80e3 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -178,7 +178,7 @@ fi
#
# --- Perl modules.
-perlmeta=$( echo $filelist | tr '[:blank:]' \\n | egrep '/MYMETA.yml$' )
+perlmeta=$( echo $filelist | tr '[:blank:]' \\n | egrep '^META.(yml|json)' | head -1 )
if [ -n "$perlmeta" ]
then
[ -x @RPMVENDORDIR@/perl.req-from-meta ] && \