Update CPANPLUS to CPAN version 0.9108
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Fri, 15 Jul 2011 15:08:44 +0000 (16:08 +0100)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Fri, 15 Jul 2011 15:08:44 +0000 (16:08 +0100)
  [DELTA]

  Changes for 0.9108      Fri Jul 15 15:15:06 2011
  ================================================
  * Always use INSTALLER_MM for Module-Build

Porting/Maintainers.pl
cpan/CPANPLUS/lib/CPANPLUS.pm
cpan/CPANPLUS/lib/CPANPLUS/Internals.pm
cpan/CPANPLUS/lib/CPANPLUS/Module.pm
cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm
pod/perldelta.pod

index 8ed4b0b..6c4d2a5 100755 (executable)
@@ -459,7 +459,7 @@ use File::Glob qw(:case);
     'CPANPLUS' =>
        {
        'MAINTAINER'    => 'kane',
-       'DISTRIBUTION'  => 'BINGOS/CPANPLUS-0.9107.tar.gz',
+       'DISTRIBUTION'  => 'BINGOS/CPANPLUS-0.9108.tar.gz',
        'FILES'         => q[cpan/CPANPLUS],
        'EXCLUDED'      => [ qr{^inc/},
                             qr{^t/dummy-.*\.hidden$},
index 0f6607b..c51a2aa 100644 (file)
@@ -13,7 +13,7 @@ BEGIN {
     use vars        qw( @EXPORT @ISA $VERSION );
     @EXPORT     =   qw( shell fetch get install );
     @ISA        =   qw( Exporter );
-    $VERSION = "0.9107";     #have to hardcode or cpan.org gets unhappy
+    $VERSION = "0.9108";     #have to hardcode or cpan.org gets unhappy
 }
 
 ### purely for backward compatibility, so we can call it from the commandline:
index f126e09..e3bb465 100644 (file)
@@ -42,7 +42,7 @@ use vars qw[@ISA $VERSION];
             CPANPLUS::Internals::Report
         ];
 
-$VERSION = "0.9107";
+$VERSION = "0.9108";
 
 =pod
 
index c815d28..dfd1328 100644 (file)
@@ -678,6 +678,9 @@ sub get_installer_type {
         $type = INSTALLER_BUILD if  $found_build     && !$found_makefile;
         $type = INSTALLER_MM    if  $prefer_makefile &&  $found_makefile;
         $type = INSTALLER_MM    if  $found_makefile  && !$found_build;
+        # Special case Module::Build to always use INSTALLER_MM
+        $type = INSTALLER_MM    if  $self->package =~ m{^Module-Build-\d};
+
     }
 
     ### ok, so it's a 'build' installer, but you don't /have/ module build
index 9bfe3e5..f1a4b6f 100644 (file)
@@ -26,7 +26,7 @@ local $Data::Dumper::Indent     = 1; # for dumpering from !
 BEGIN {
     use vars        qw[ $VERSION @ISA ];
     @ISA        =   qw[ CPANPLUS::Shell::_Base::ReadLine ];
-    $VERSION = "0.9107";
+    $VERSION = "0.9108";
 }
 
 load CPANPLUS::Shell;
index 9c65028..02293de 100644 (file)
@@ -224,7 +224,7 @@ IO::Compress::Zip when the content size was exactly 0xFFFFFFFF.
 
 =item *
 
-L<CPANPLUS> has been upgraded from version 0.9105 to version 0.9107
+L<CPANPLUS> has been upgraded from version 0.9105 to version 0.9108
 
 =item *