From: Karen Etheridge Date: Thu, 19 Sep 2013 04:16:54 +0000 (-0700) Subject: fix bad metadata (x_PREREQ_PM) X-Git-Tag: v1.000004~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6c703264d62374c9be9fe6823b12da5118c27a54;p=p5sagit%2FSafe-Isa.git fix bad metadata (x_PREREQ_PM) --- diff --git a/Changes b/Changes index f83468c..e03ccf9 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for Safe-Isa + - fixed slightly mangled metadata from last release + 1.000003 2013-03-25 - fix NAME in Makefile.PL (RT#84212) diff --git a/Makefile.PL b/Makefile.PL index 4641c15..c35e0d7 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,26 +8,28 @@ WriteMakefile( NAME => 'Safe::Isa', VERSION_FROM => 'lib/Safe/Isa.pm', - META_MERGE => { - 'meta-spec' => { version => 2 }, - dynamic_config => 0, + PREREQ_PM => { + 'Exporter' => '5.57', + 'Scalar::Util' => 0, + }, - resources => { - # r/w: p5sagit@git.shadowcat.co.uk:Safe-Isa.git - repository => { - url => 'git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git', - web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git', - type => 'git', - }, - bugtracker => { - mailto => 'bug-Safe-Isa@rt.cpan.org', - web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa', - }, - }, + -f 'META.yml' ? () : ( + META_MERGE => { + 'meta-spec' => { version => 2 }, + dynamic_config => 0, - PREREQ_PM => { - 'Exporter' => '5.57', - 'Scalar::Util' => 0, + resources => { + # r/w: p5sagit@git.shadowcat.co.uk:Safe-Isa.git + repository => { + url => 'git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git', + web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git', + type => 'git', + }, + bugtracker => { + mailto => 'bug-Safe-Isa@rt.cpan.org', + web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa', + }, + }, }, - }, + ), ); diff --git a/maint/Makefile.PL.include b/maint/Makefile.PL.include index 993a293..e45c17b 100644 --- a/maint/Makefile.PL.include +++ b/maint/Makefile.PL.include @@ -2,6 +2,7 @@ BEGIN { -e 'Distar' or system("git clone git://git.shadowcat.co.uk/p5sagit/Dista use lib 'Distar/lib'; use Distar; +use ExtUtils::MakeMaker 6.68; # ensure meta-spec v2 compatibility author 'mst - Matt S. Trout (cpan:MSTROUT) '; 1;