Skip to content

Commit

Permalink
fix name handling and perl prereq version
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Dec 6, 2013
1 parent 42326e0 commit 9c9bd07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ my %META = (
'Test::Fatal' => 0.003,
} },
runtime => { requires => {
'perl' => '5.8.1',
'perl' => 5.008001,
'Class::Method::Modifiers' => 1.10, # for RT#80194
'strictures' => 1.004003,
'Module::Runtime' => 0.012, # for RT#74789
Expand Down Expand Up @@ -92,7 +92,8 @@ if (not $mymeta_works) {
%build_deps = ();
}

(my $module = "lib/$META{name}.pm") =~ s{::}{/}g;
(my $name = $META{name}) =~ s/-/::/g;
(my $module = "lib/$name.pm") =~ s{::}{/}g;

WriteMakefile(
NAME => $META{name},
Expand Down

0 comments on commit 9c9bd07

Please sign in to comment.