]> git.vpit.fr Git - perl/modules/Scope-Context.git/blobdiff - Makefile.PL
Add BUILD_REQUIRES to WriteMakefile()
[perl/modules/Scope-Context.git] / Makefile.PL
index aff57ea3a0be04dab0f06cb330c6a0a43888f689..f2386d908bfb5b297da79d8b8ab47ea153ce6f20 100644 (file)
@@ -12,18 +12,22 @@ my $dist = 'Scope-Context';
 $file = "lib/$file.pm";
 
 my %PREREQ_PM = (
- 'Scope::Upper' => '0.18',
+ 'Scope::Upper' => '0.21',
  'Scalar::Util' => 0,
 );
 
+my %BUILD_REQUIRES = (
+ 'ExtUtils::MakeMaker' => 0,
+ 'Test::More'          => 0,
+ %PREREQ_PM,
+);
+
 my %META = (
  configure_requires => {
   'ExtUtils::MakeMaker' => 0,
  },
  build_requires => {
-  'ExtUtils::MakeMaker' => 0,
-  'Test::More'          => 0,
-  %PREREQ_PM,
+  %BUILD_REQUIRES,
  },
  dynamic_config => 0,
  resources => {
@@ -41,6 +45,7 @@ WriteMakefile(
  VERSION_FROM     => $file,
  ABSTRACT_FROM    => $file,
  PL_FILES         => {},
+ BUILD_REQUIRES   => \%BUILD_REQUIRES,
  PREREQ_PM        => \%PREREQ_PM,
  MIN_PERL_VERSION => 5.006,
  META_MERGE       => \%META,