Backport VMS fixes from blead [RT #70781]
David Golden [Wed, 7 Sep 2011 15:58:31 +0000 (11:58 -0400)]
Dot is the directory delimiter on VMS, so it's awkward at best to use it
in directory names.  Blead commit 4eb81ef279, "Update Module-Metadata to
CPAN version 1.000005" introduced two new directories with dots in the
name, which confused the manifest checker and broke the build on VMS.

Changes
t/lib/0_1/Foo.pm [moved from t/lib/0.1/Foo.pm with 100% similarity]
t/lib/0_2/Foo.pm [moved from t/lib/0.2/Foo.pm with 100% similarity]
t/version.t

diff --git a/Changes b/Changes
index fd92082..c459f9c 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+  - Apply VMS fixes backported from blead (Craig A. Berry)
+
 1.0.6 2011-08-29 04:00:00
   - Support PACKAGE BLOCK syntax (VPIT)
 
similarity index 100%
rename from t/lib/0.1/Foo.pm
rename to t/lib/0_1/Foo.pm
similarity index 100%
rename from t/lib/0.2/Foo.pm
rename to t/lib/0_2/Foo.pm
index 4acc358..061a063 100644 (file)
@@ -1,14 +1,14 @@
 use strict;
 use Test::More;
 use Module::Metadata;
-use lib "t/lib/0.2";
+use lib "t/lib/0_2";
 
 plan tests => 4;
 
 require Foo;
 is $Foo::VERSION, 0.2;
 
-my $meta = Module::Metadata->new_from_module("Foo", inc => [ "t/lib/0.1" ] );
+my $meta = Module::Metadata->new_from_module("Foo", inc => [ "t/lib/0_1" ] );
 is $meta->version, 0.1;
 
 is $Foo::VERSION, 0.2;