set v2 metadata (RT#88028)
[p5sagit/Module-Metadata.git] / Makefile.PL
index a2b9747..6dc3efd 100644 (file)
@@ -18,13 +18,25 @@ WriteMakefile(
     'vars'        => 0,
     'version'     => 0.87,
     'warnings'    => 0,
+    $] < 5.008
+      ? ( 'IO::Scalar' => 0 )
+      : ()
+    ,
   },
   META_MERGE => {
+    'meta-spec' => { version => 2 },
     dynamic_config => 0,
     resources => {
       # r/w: p5sagit@git.shadowcat.co.uk:Module-Metadata.git
-      repository => 'git://git.shadowcat.co.uk/p5sagit/Module-Metadata.git',
-      homepage => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Module-Metadata.git',
+      repository => {
+        url => 'git://git.shadowcat.co.uk/p5sagit/Module-Metadata.git',
+        web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Module-Metadata.git',
+        type => 'git',
+      },
+      bugtracker => {
+          mailto => 'bug-Module-Metadata@rt.cpan.org',
+          web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Module-Metadata',
+      },
     },
   },
 );