Skip to content

Commit

Permalink
r2285@Scotchie: ken | 2007-03-15 21:14:06 -0500
Browse files Browse the repository at this point in the history
 Compatibility fixes for 5.005


git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@9260 50811bd7-b8ce-0310-adc1-d9db26280581
  • Loading branch information
kenahoo committed Mar 16, 2007
1 parent 69ba3d4 commit 4504a98
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Changes
Expand Up @@ -2,6 +2,9 @@ Revision history for Perl extension Module::Build.

- Upgraded to version.pm 0.70. [John Peacock]

- Removed a couple small constructs in the tests ("use warnings;" and
"qw$foo bar$[1]") that caused test failures under perl 5.005.

- Added support for an explicit default value of undef in prompt().
[Eric Wilhelm]

Expand Down
4 changes: 2 additions & 2 deletions t/metadata.t
Expand Up @@ -141,9 +141,9 @@ is_deeply($mb->find_dist_packages,
{
$dist->change_file( 'lib/Simple.pm', <<'---' );
package Simple;
$VERSION = version->new('0.60.' . qw$Revision: 128 $[1]);
$VERSION = version->new('0.60.' . (qw$Revision: 128 $)[1]);
package Simple::Simon;
$VERSION = version->new('0.61.' . qw$Revision: 129 $[1]);
$VERSION = version->new('0.61.' . (qw$Revision: 129 $)[1]);
---
$dist->regen;
my $provides = new_build()->prepare_metadata()->{provides};
Expand Down
4 changes: 2 additions & 2 deletions t/moduleinfo.t
Expand Up @@ -411,9 +411,9 @@ __DATA__
# Make sure we handle version.pm $VERSIONs well
$dist->change_file( 'lib/Simple.pm', <<'---' );
package Simple;
$VERSION = version->new('0.60.' . qw$Revision: 128 $[1]);
$VERSION = version->new('0.60.' . (qw$Revision: 128 $)[1]);
package Simple::Simon;
$VERSION = version->new('0.61.' . qw$Revision: 129 $[1]);
$VERSION = version->new('0.61.' . (qw$Revision: 129 $)[1]);
---
$dist->regen;

Expand Down
3 changes: 1 addition & 2 deletions t/new_from_context.t
@@ -1,6 +1,5 @@
#!/usr/bin/perl
#!/usr/bin/perl -w

use warnings;
use strict;
use lib $ENV{PERL_CORE} ? '../lib/Module/Build/t/lib' : 't/lib';
use MBTest tests => 2;
Expand Down

0 comments on commit 4504a98

Please sign in to comment.