X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FScope-Context.git;a=blobdiff_plain;f=Makefile.PL;h=ed310485b92f503f17270053d16024a71b8e75b6;hp=5fad2e717c8508f549c74b0bf94d1a067bbeea57;hb=d71bf83915e7f647434b4e0db12ccad0f2e9a6f8;hpb=c7026b73f65000dc66bd89e44f5c95538f823ccf diff --git a/Makefile.PL b/Makefile.PL index 5fad2e7..ed31048 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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,14 +45,15 @@ WriteMakefile( VERSION_FROM => $file, ABSTRACT_FROM => $file, PL_FILES => {}, + BUILD_REQUIRES => \%BUILD_REQUIRES, PREREQ_PM => \%PREREQ_PM, - MIN_PERL_VERSION => 5.006, + MIN_PERL_VERSION => '5.006', META_MERGE => \%META, dist => { PREOP => "pod2text -u $file > \$(DISTVNAME)/README", COMPRESS => 'gzip -9f', SUFFIX => 'gz' }, clean => { - FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt" + FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt*" } );