also set minimum perl version in metadata, for introspectability
[p5sagit/Module-Metadata.git] / Makefile.PL
index 9b7e4ad..8717afd 100644 (file)
@@ -1,6 +1,7 @@
 use strict;
 use warnings FATAL => 'all';
 use ExtUtils::MakeMaker;
+use 5.006;
 
 (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
@@ -9,12 +10,14 @@ WriteMakefile(
   VERSION_FROM => 'lib/Module/Metadata.pm',
   ABSTRACT_FROM => 'lib/Module/Metadata.pm',
   LICENSE => 'perl',
+  MIN_PERL_VERSION => '5.006',
   PREREQ_PM => {
     'Carp'        => 0,
     'File::Find'  => 0,
     'File::Spec'  => 0,
     'IO::File'    => 0,
     'strict'      => 0,
+    'warnings'    => 0,
     'vars'        => 0,
     'version'     => 0.87,
     'warnings'    => 0,
@@ -28,8 +31,15 @@ WriteMakefile(
     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',
+      },
     },
   },
 );