X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=8622e14d833c73c029ad6ffa093f5c004d8b30b1;hb=5c59e53659f8f6551727367f95918ec213f58a76;hp=b481d580b80ce13bfd52ee429f23a6d845a4be9a;hpb=a1bb9cab5dc2ba16af149f126cb58a8a0d08fbed;p=perl%2Fmodules%2Fre-engine-Hooks.git diff --git a/Makefile.PL b/Makefile.PL index b481d58..8622e14 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -37,13 +37,33 @@ my %META = ( }, dynamic_config => 1, resources => { - bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist", + bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist", homepage => "http://search.cpan.org/dist/$dist/", license => 'http://dev.perl.org/licenses/', repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git", }, ); +my $latest_dev_rev = 19; + +sub is_outdated_dev_perl { + my ($rev) = "$]" =~ /^5\.([0-9]{2}[13579])/; + + return unless defined $rev; + + return $rev < $latest_dev_rev; +} + +if (is_outdated_dev_perl) { + print STDERR <