From: David Golden Date: Wed, 7 Sep 2011 15:58:31 +0000 (-0400) Subject: Backport VMS fixes from blead [RT #70781] X-Git-Tag: release_1.0.7~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d57f5df5f46e3077c679b5b0bec7c1546e37138f;p=p5sagit%2FModule-Metadata.git Backport VMS fixes from blead [RT #70781] 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. --- diff --git a/Changes b/Changes index fd92082..c459f9c 100644 --- 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) diff --git a/t/lib/0.1/Foo.pm b/t/lib/0_1/Foo.pm similarity index 100% rename from t/lib/0.1/Foo.pm rename to t/lib/0_1/Foo.pm diff --git a/t/lib/0.2/Foo.pm b/t/lib/0_2/Foo.pm similarity index 100% rename from t/lib/0.2/Foo.pm rename to t/lib/0_2/Foo.pm diff --git a/t/version.t b/t/version.t index 4acc358..061a063 100644 --- a/t/version.t +++ b/t/version.t @@ -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;