Hello community,

here is the log from the commit of package perl-Module-Build for 
openSUSE:Factory checked in at 2016-05-31 12:08:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-Build (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Module-Build.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Module-Build"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Module-Build/perl-Module-Build.changes      
2015-05-20 23:22:00.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Module-Build.new/perl-Module-Build.changes 
2016-05-31 12:08:16.000000000 +0200
@@ -1,0 +2,52 @@
+Tue May 10 13:40:04 UTC 2016 - co...@suse.com
+
+- updated to 0.4218
+   see /usr/share/doc/packages/perl-Module-Build/Changes
+
+  0.4218 - Sun Apr 24 16:39:47 BST 2016
+  
+    - Skip XS test when link_executable fails
+  
+  0.42_17 - Mon Mar 21 14:02:06 CET 2016
+  
+    - Read extra_linker_flags using its accessor [Salvador Fandino]
+  
+    - Convert win shell splitting to m//gc parser, fixing handling of 0
+      and handling of backslashes preceeding a double quote [Graham Knop]
+  
+    - Win32 installation of MB with gmake require SHELL env var to be set
+      [bulk88]
+  
+  0.4216 - Wed Jan 20 10:39:27 CET 2016
+  
+    - Delete test that fails with new version.pm [Leon Timmermans]
+  
+  0.42_15 - Sat Nov 28 15:17:40 CET 2015
+  
+    - Honor environmental variables when using TAP::Harness directly [Leon 
Timmermans]
+  
+    - Reintroduce some level of perl 5.6 support [Leon Timmermans]
+      Note that this comes with no guarantees or commitment
+  
+    - Allow Devel::Cover usage with TAP::Harness [Philipp Gortan]
+  
+    - Remove "running under some shell" [Shoichi Kaji]
+  
+    - Fix cookbook - code was missing trailing ` [Matthew Horsfall]
+  
+  0.4214 - Fri Jun 12 00:25:00 CEST 2015
+  
+    - Released 0.42_13 as 0.4214
+  
+  0.42_13 - Sat Jun  6 21:18:24 CEST 2015
+  
+    [BUG FIXES]
+  
+    - Handle failure to guess license from key better
+  
+    [ENHANCEMENTS]
+  
+    - Output data in a stable order [Jérémy Bobbio]
+- deleted patch make-builds-reproducible.patch
+
+-------------------------------------------------------------------

Old:
----
  Module-Build-0.4212.tar.gz
  make-builds-reproducible.patch

New:
----
  Module-Build-0.4218.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Module-Build.spec ++++++
--- /var/tmp/diff_new_pack.Qv4S8z/_old  2016-05-31 12:08:17.000000000 +0200
+++ /var/tmp/diff_new_pack.Qv4S8z/_new  2016-05-31 12:08:17.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Module-Build
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,10 @@
 
 
 Name:           perl-Module-Build
-Version:        0.421200
+Version:        0.421800
 Release:        0
-%define cpan_version 0.4212
-Provides:       perl(Module::Build) = 0.421200
+%define cpan_version 0.4218
+Provides:       perl(Module::Build) = 0.421800
 %define cpan_name Module-Build
 Summary:        Build and install Perl modules
 License:        Artistic-1.0 or GPL-1.0+
@@ -28,7 +28,6 @@
 Url:            http://search.cpan.org/dist/Module-Build/
 Source0:        
http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{cpan_version}.tar.gz
 Source1:        cpanspec.yml
-Patch0:         make-builds-reproducible.patch
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -41,7 +40,7 @@
 BuildRequires:  perl(Parse::CPAN::Meta) >= 1.4401
 BuildRequires:  perl(Perl::OSType) >= 1
 BuildRequires:  perl(Pod::Man) >= 2.17
-BuildRequires:  perl(Test::Harness) >= 3.16
+BuildRequires:  perl(TAP::Harness) >= 3.29
 BuildRequires:  perl(version) >= 0.87
 Requires:       perl(CPAN::Meta) >= 2.142060
 Requires:       perl(ExtUtils::CBuilder) >= 0.27
@@ -49,6 +48,7 @@
 Requires:       perl(Module::Metadata) >= 1.000002
 Requires:       perl(Perl::OSType) >= 1
 Requires:       perl(Pod::Man) >= 2.17
+Requires:       perl(TAP::Harness) >= 3.29
 Requires:       perl(version) >= 0.87
 Recommends:     perl(ExtUtils::Manifest) >= 1.54
 %{perl_requires}
@@ -61,8 +61,8 @@
 require a 'make' on your system - most of the 'Module::Build' code is
 pure-perl and written in a very cross-platform way.
 
-See the "MOTIVATIONS" manpage for more comparisons between
-'ExtUtils::MakeMaker' and 'Module::Build'.
+See "MOTIVATIONS" for more comparisons between 'ExtUtils::MakeMaker' and
+'Module::Build'.
 
 To install 'Module::Build', and any other module that uses 'Module::Build'
 for its installation process, do the following:
@@ -100,8 +100,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{cpan_version}
-find . -type f -print0 | xargs -0 chmod 644
-%patch0 -p1
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
 
 %build
 %{__perl} Build.PL installdirs=vendor

++++++ Module-Build-0.4212.tar.gz -> Module-Build-0.4218.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/Build.PL 
new/Module-Build-0.4218/Build.PL
--- old/Module-Build-0.4212/Build.PL    2015-05-17 00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/Build.PL    2016-04-24 20:22:51.000000000 +0200
@@ -34,14 +34,14 @@
   build_requires        => {
     'File::Temp'            => 0.15,    # tmpdir() + fixes
     'Test::More'            => 0.49,
-    'Test::Harness'         => 3.16,    # PERL5LIB fixes
+    'TAP::Harness'          => 3.29,    # TAP::Harness::Env
     'Parse::CPAN::Meta'     => '1.4401',
     'CPAN::Meta::YAML'      => 0.003,
   },
   # KEEP 'requires' as low as possible and target Build/test/install
   # Requirements for authors should be implemented as optional features
   requires    => {
-    'perl'                  => '5.008000',
+    'perl'                  => '5.006001',
     'Data::Dumper'          => 0,
     'File::Basename'        => 0,
     'File::Compare'         => 0,
@@ -58,7 +58,7 @@
     'Text::Abbrev'          => 0,
     'Text::ParseWords'      => 0,
     'Getopt::Long'          => 0,
-    'Test::Harness'         => 0,
+    'TAP::Harness'          => 3.29,
     'CPAN::Meta'            => '2.142060',
     'Perl::OSType'          => ( $^O eq 'bitrig' ? 1.004 : 1 ), # needs 1.0 API
     'version'               => 0.87,  # No longer requires M::B
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/Changes 
new/Module-Build-0.4218/Changes
--- old/Module-Build-0.4212/Changes     2015-05-17 00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/Changes     2016-04-24 20:22:51.000000000 +0200
@@ -1,5 +1,50 @@
 Revision history for Perl extension Module::Build.
 
+0.4218 - Sun Apr 24 16:39:47 BST 2016
+
+  - Skip XS test when link_executable fails
+
+0.42_17 - Mon Mar 21 14:02:06 CET 2016
+
+  - Read extra_linker_flags using its accessor [Salvador Fandino]
+
+  - Convert win shell splitting to m//gc parser, fixing handling of 0
+    and handling of backslashes preceeding a double quote [Graham Knop]
+
+  - Win32 installation of MB with gmake require SHELL env var to be set
+    [bulk88]
+
+0.4216 - Wed Jan 20 10:39:27 CET 2016
+
+  - Delete test that fails with new version.pm [Leon Timmermans]
+
+0.42_15 - Sat Nov 28 15:17:40 CET 2015
+
+  - Honor environmental variables when using TAP::Harness directly [Leon 
Timmermans]
+
+  - Reintroduce some level of perl 5.6 support [Leon Timmermans]
+    Note that this comes with no guarantees or commitment
+
+  - Allow Devel::Cover usage with TAP::Harness [Philipp Gortan]
+
+  - Remove "running under some shell" [Shoichi Kaji]
+
+  - Fix cookbook - code was missing trailing ` [Matthew Horsfall]
+
+0.4214 - Fri Jun 12 00:25:00 CEST 2015
+
+  - Released 0.42_13 as 0.4214
+
+0.42_13 - Sat Jun  6 21:18:24 CEST 2015
+
+  [BUG FIXES]
+
+  - Handle failure to guess license from key better
+
+  [ENHANCEMENTS]
+
+  - Output data in a stable order [Jérémy Bobbio]
+
 0.4212 - Sun May 17 00:33:34 CEST 2015
 
   [BUG FIXES]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/META.json 
new/Module-Build-0.4218/META.json
--- old/Module-Build-0.4212/META.json   2015-05-17 00:46:53.000000000 +0200
+++ new/Module-Build-0.4218/META.json   2016-04-24 20:22:51.000000000 +0200
@@ -5,7 +5,7 @@
       "Module-Build mailing list at <module-bu...@perl.org>."
    ],
    "dynamic_config" : 1,
-   "generated_by" : "Module::Build version 0.4212",
+   "generated_by" : "Module::Build version 0.4218",
    "license" : [
       "perl_5"
    ],
@@ -20,7 +20,7 @@
             "CPAN::Meta::YAML" : "0.003",
             "File::Temp" : "0.15",
             "Parse::CPAN::Meta" : "1.4401",
-            "Test::Harness" : "3.16",
+            "TAP::Harness" : "3.29",
             "Test::More" : "0.49"
          }
       },
@@ -56,10 +56,10 @@
             "Module::Metadata" : "1.000002",
             "Perl::OSType" : "1",
             "Pod::Man" : "2.17",
-            "Test::Harness" : "0",
+            "TAP::Harness" : "3.29",
             "Text::Abbrev" : "0",
             "Text::ParseWords" : "0",
-            "perl" : "5.008000",
+            "perl" : "5.006001",
             "version" : "0.87"
          }
       }
@@ -67,79 +67,79 @@
    "provides" : {
       "Module::Build" : {
          "file" : "lib/Module/Build.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Base" : {
          "file" : "lib/Module/Build/Base.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Compat" : {
          "file" : "lib/Module/Build/Compat.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Config" : {
          "file" : "lib/Module/Build/Config.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Cookbook" : {
          "file" : "lib/Module/Build/Cookbook.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Dumper" : {
          "file" : "lib/Module/Build/Dumper.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Notes" : {
          "file" : "lib/Module/Build/Notes.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::PPMMaker" : {
          "file" : "lib/Module/Build/PPMMaker.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Platform::Default" : {
          "file" : "lib/Module/Build/Platform/Default.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Platform::MacOS" : {
          "file" : "lib/Module/Build/Platform/MacOS.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Platform::Unix" : {
          "file" : "lib/Module/Build/Platform/Unix.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Platform::VMS" : {
          "file" : "lib/Module/Build/Platform/VMS.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Platform::VOS" : {
          "file" : "lib/Module/Build/Platform/VOS.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Platform::Windows" : {
          "file" : "lib/Module/Build/Platform/Windows.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Platform::aix" : {
          "file" : "lib/Module/Build/Platform/aix.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Platform::cygwin" : {
          "file" : "lib/Module/Build/Platform/cygwin.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Platform::darwin" : {
          "file" : "lib/Module/Build/Platform/darwin.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::Platform::os2" : {
          "file" : "lib/Module/Build/Platform/os2.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       },
       "Module::Build::PodParser" : {
          "file" : "lib/Module/Build/PodParser.pm",
-         "version" : "0.4212"
+         "version" : "0.4218"
       }
    },
    "release_status" : "stable",
@@ -153,5 +153,5 @@
       "x_IRC" : "irc://irc.perl.org/#toolchain",
       "x_MailingList" : "mailto:module-bu...@perl.org";
    },
-   "version" : "0.4212"
+   "version" : "0.4218"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/META.yml 
new/Module-Build-0.4218/META.yml
--- old/Module-Build-0.4212/META.yml    2015-05-17 00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/META.yml    2016-04-24 20:22:51.000000000 +0200
@@ -7,7 +7,7 @@
   CPAN::Meta::YAML: '0.003'
   File::Temp: '0.15'
   Parse::CPAN::Meta: '1.4401'
-  Test::Harness: '3.16'
+  TAP::Harness: '3.29'
   Test::More: '0.49'
 configure_requires:
   CPAN::Meta: '2.142060'
@@ -15,7 +15,7 @@
   Perl::OSType: '1'
   version: '0.87'
 dynamic_config: 1
-generated_by: 'Module::Build version 0.4212, CPAN::Meta::Converter version 
2.143240'
+generated_by: 'Module::Build version 0.4218, CPAN::Meta::Converter version 
2.143240'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,61 +24,61 @@
 provides:
   Module::Build:
     file: lib/Module/Build.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Base:
     file: lib/Module/Build/Base.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Compat:
     file: lib/Module/Build/Compat.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Config:
     file: lib/Module/Build/Config.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Cookbook:
     file: lib/Module/Build/Cookbook.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Dumper:
     file: lib/Module/Build/Dumper.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Notes:
     file: lib/Module/Build/Notes.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::PPMMaker:
     file: lib/Module/Build/PPMMaker.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Platform::Default:
     file: lib/Module/Build/Platform/Default.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Platform::MacOS:
     file: lib/Module/Build/Platform/MacOS.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Platform::Unix:
     file: lib/Module/Build/Platform/Unix.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Platform::VMS:
     file: lib/Module/Build/Platform/VMS.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Platform::VOS:
     file: lib/Module/Build/Platform/VOS.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Platform::Windows:
     file: lib/Module/Build/Platform/Windows.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Platform::aix:
     file: lib/Module/Build/Platform/aix.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Platform::cygwin:
     file: lib/Module/Build/Platform/cygwin.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Platform::darwin:
     file: lib/Module/Build/Platform/darwin.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::Platform::os2:
     file: lib/Module/Build/Platform/os2.pm
-    version: '0.4212'
+    version: '0.4218'
   Module::Build::PodParser:
     file: lib/Module/Build/PodParser.pm
-    version: '0.4212'
+    version: '0.4218'
 recommends:
   ExtUtils::Install: '0.3'
   ExtUtils::Manifest: '1.54'
@@ -101,14 +101,14 @@
   Module::Metadata: '1.000002'
   Perl::OSType: '1'
   Pod::Man: '2.17'
-  Test::Harness: '0'
+  TAP::Harness: '3.29'
   Text::Abbrev: '0'
   Text::ParseWords: '0'
-  perl: '5.008000'
+  perl: '5.006001'
   version: '0.87'
 resources:
   IRC: irc://irc.perl.org/#toolchain
   MailingList: mailto:module-bu...@perl.org
   license: http://dev.perl.org/licenses/
   repository: https://github.com/Perl-Toolchain-Gang/Module-Build
-version: '0.4212'
+version: '0.4218'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/API.pod 
new/Module-Build-0.4218/lib/Module/Build/API.pod
--- old/Module-Build-0.4212/lib/Module/Build/API.pod    2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/API.pod    2016-04-24 
20:22:51.000000000 +0200
@@ -1974,6 +1974,8 @@
 
 =item conflicts()
 
+=item cover()
+
 =item cpan_client()
 
 =item create_license()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/Base.pm 
new/Module-Build-0.4218/lib/Module/Build/Base.pm
--- old/Module-Build-0.4212/lib/Module/Build/Base.pm    2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Base.pm    2016-04-24 
20:22:50.000000000 +0200
@@ -6,7 +6,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 
 use Carp;
@@ -961,6 +961,7 @@
   base_dir
   bindoc_dirs
   c_source
+  cover
   create_license
   create_makefile_pl
   create_readme
@@ -1900,7 +1901,7 @@
   }
 
   # Try loading META.json or META.yml
-  if ( $self->try_require("CPAN::Meta", "2.110420") ) {
+  if ( $self->try_require("CPAN::Meta", "2.142060") ) {
     for my $file ( @metafiles ) {
       next unless -f $file;
       $meta_obj = eval { CPAN::Meta->load_file($file, { lazy_validation => 0 
}) };
@@ -2718,11 +2719,11 @@
 sub run_tap_harness {
   my ($self, $tests) = @_;
 
-  require TAP::Harness;
+  require TAP::Harness::Env;
 
   # TODO allow the test @INC to be set via our API?
 
-  my $aggregate = TAP::Harness->new({
+  my $aggregate = TAP::Harness::Env->create({
     lib => [@INC],
     verbosity => $self->{properties}{verbose},
     switches  => [ $self->harness_switches ],
@@ -2751,7 +2752,11 @@
 }
 
 sub harness_switches {
-    shift->{properties}{debugger} ? qw(-w -d) : ();
+    my $self = shift;
+    my @res;
+    push @res, qw(-w -d) if $self->{properties}{debugger};
+    push @res, '-MDevel::Cover' if $self->{properties}{cover};
+    return @res;
 }
 
 sub test_files {
@@ -2802,10 +2807,7 @@
           && $self->up_to_date($self->test_files, $cover_files);
   }
 
-  local $Test::Harness::switches    =
-  local $Test::Harness::Switches    =
-  local $ENV{HARNESS_PERL_SWITCHES} = "-MDevel::Cover";
-
+  local $self->{properties}{cover} = 1;
   $self->depends_on('test');
   $self->do_system('cover');
 }
@@ -3077,13 +3079,6 @@
     my $shb = '';
     $shb .= $c->get('sharpbang')."$interpreter $arg\n" if $does_shbang;
 
-    # I'm not smart enough to know the ramifications of changing the
-    # embedded newlines here to \n, so I leave 'em in.
-    $shb .= qq{
-eval 'exec $interpreter $arg -S \$0 \${1+"\$\@"}'
-    if 0; # not running under some shell
-} unless $self->is_windowsish; # this won't work on win32, so don't
-
     open(my $FIXOUT, '>', "$file.new")
       or die "Can't create new $file: $!\n";
 
@@ -4440,10 +4435,11 @@
 sub _software_license_class {
   my ($self, $license) = @_;
   if ($self->valid_licenses->{$license} && eval { require 
Software::LicenseUtils; Software::LicenseUtils->VERSION(0.103009) }) {
-    my ($class) = 
Software::LicenseUtils->guess_license_from_meta_key($license, 1);
-       eval "require $class";
-       #die $class;
-       return $class;
+    my @classes = 
Software::LicenseUtils->guess_license_from_meta_key($license, 1);
+    if (@classes == 1) {
+      eval "require $classes[0]";
+      return $classes[0];
+    }
   }
   LICENSE: for my $l ( $self->valid_licenses->{ $license }, $license ) {
     next unless defined $l;
@@ -4545,7 +4541,7 @@
 sub _get_meta_object {
   my $self = shift;
   my %args = @_;
-  return unless $self->try_require("CPAN::Meta", "2.110420");
+  return unless $self->try_require("CPAN::Meta", "2.142060");
 
   my $meta;
   eval {
@@ -5344,7 +5340,7 @@
     module_name => $module_name,
     objects     => [$spec->{obj_file}, @$objects],
     lib_file    => $spec->{lib_file},
-    extra_linker_flags => $p->{extra_linker_flags} );
+    extra_linker_flags => $self->extra_linker_flags );
 
   return $spec->{lib_file};
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/Compat.pm 
new/Module-Build-0.4218/lib/Module/Build/Compat.pm
--- old/Module-Build-0.4212/lib/Module/Build/Compat.pm  2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Compat.pm  2016-04-24 
20:22:51.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 
 use File::Basename ();
 use File::Spec;
@@ -363,7 +363,9 @@
   my $unlink = $class->oneliner('1 while unlink $ARGV[0]', [], 
[$args{makefile}]);
   $unlink =~ s/\$/\$\$/g unless $class->is_vmsish;
 
-  my $maketext = ($^O eq 'os2' ? "SHELL = sh\n\n" : '');
+  my $maketext = ($^O eq 'os2' ? "SHELL = sh\n\n"
+                    : $^O eq 'MSWin32' && $Config{make} =~ /gmake/
+                    ? "SHELL = $ENV{COMSPEC}\n\n" : '');
 
   $maketext .= <<"EOF";
 all : force_do_it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/Config.pm 
new/Module-Build-0.4218/lib/Module/Build/Config.pm
--- old/Module-Build-0.4212/lib/Module/Build/Config.pm  2015-05-17 
00:46:53.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Config.pm  2016-04-24 
20:22:50.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 use Config;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/Cookbook.pm 
new/Module-Build-0.4218/lib/Module/Build/Cookbook.pm
--- old/Module-Build-0.4212/lib/Module/Build/Cookbook.pm        2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Cookbook.pm        2016-04-24 
20:22:50.000000000 +0200
@@ -1,7 +1,7 @@
 package Module::Build::Cookbook;
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 
 
 =head1 NAME
@@ -488,7 +488,7 @@
     # Find out what version of Module::Build is installed or fail quietly.
     # This should be cross-platform.
     my $Installed_MB =
-        `$^X -e "eval q{require Module::Build; print Module::Build->VERSION} 
or exit 1";
+        `$^X -e "eval q{require Module::Build; print Module::Build->VERSION} 
or exit 1"`;
 
     # some operating systems put a newline at the end of every print.
     chomp $Installed_MB;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/Dumper.pm 
new/Module-Build-0.4218/lib/Module/Build/Dumper.pm
--- old/Module-Build-0.4212/lib/Module/Build/Dumper.pm  2015-05-17 
00:46:53.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Dumper.pm  2016-04-24 
20:22:51.000000000 +0200
@@ -1,7 +1,7 @@
 package Module::Build::Dumper;
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 
 # This is just a split-out of a wrapper function to do Data::Dumper
 # stuff "the right way".  See:
@@ -12,7 +12,7 @@
 sub _data_dump {
   my ($self, $data) = @_;
   return ("do{ my "
-         . Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Dump()
+         . 
Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Sortkeys(1)->Dump()
          . '$x; }')
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/Notes.pm 
new/Module-Build-0.4218/lib/Module/Build/Notes.pm
--- old/Module-Build-0.4212/lib/Module/Build/Notes.pm   2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Notes.pm   2016-04-24 
20:22:50.000000000 +0200
@@ -4,7 +4,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 use Data::Dumper;
 use Module::Build::Dumper;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/PPMMaker.pm 
new/Module-Build-0.4218/lib/Module/Build/PPMMaker.pm
--- old/Module-Build-0.4212/lib/Module/Build/PPMMaker.pm        2015-05-17 
00:46:53.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/PPMMaker.pm        2016-04-24 
20:22:50.000000000 +0200
@@ -4,7 +4,7 @@
 use warnings;
 use Config;
 
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 
 # This code is mostly borrowed from ExtUtils::MM_Unix 6.10_03, with a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Module-Build-0.4212/lib/Module/Build/Platform/Default.pm 
new/Module-Build-0.4218/lib/Module/Build/Platform/Default.pm
--- old/Module-Build-0.4212/lib/Module/Build/Platform/Default.pm        
2015-05-17 00:46:53.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Platform/Default.pm        
2016-04-24 20:22:51.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 use Module::Build::Base;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Module-Build-0.4212/lib/Module/Build/Platform/MacOS.pm 
new/Module-Build-0.4218/lib/Module/Build/Platform/MacOS.pm
--- old/Module-Build-0.4212/lib/Module/Build/Platform/MacOS.pm  2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Platform/MacOS.pm  2016-04-24 
20:22:51.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 use Module::Build::Base;
 our @ISA = qw(Module::Build::Base);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Module-Build-0.4212/lib/Module/Build/Platform/Unix.pm 
new/Module-Build-0.4218/lib/Module/Build/Platform/Unix.pm
--- old/Module-Build-0.4212/lib/Module/Build/Platform/Unix.pm   2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Platform/Unix.pm   2016-04-24 
20:22:51.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 use Module::Build::Base;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/Platform/VMS.pm 
new/Module-Build-0.4218/lib/Module/Build/Platform/VMS.pm
--- old/Module-Build-0.4212/lib/Module/Build/Platform/VMS.pm    2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Platform/VMS.pm    2016-04-24 
20:22:50.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 use Module::Build::Base;
 use Config;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/Platform/VOS.pm 
new/Module-Build-0.4218/lib/Module/Build/Platform/VOS.pm
--- old/Module-Build-0.4212/lib/Module/Build/Platform/VOS.pm    2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Platform/VOS.pm    2016-04-24 
20:22:51.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 use Module::Build::Base;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Module-Build-0.4212/lib/Module/Build/Platform/Windows.pm 
new/Module-Build-0.4218/lib/Module/Build/Platform/Windows.pm
--- old/Module-Build-0.4212/lib/Module/Build/Platform/Windows.pm        
2015-05-17 00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Platform/Windows.pm        
2016-04-24 20:22:50.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 
 use Config;
@@ -213,45 +213,40 @@
   my @argv;
   return @argv unless defined() && length();
 
-  my $arg = '';
-  my( $i, $quote_mode ) = ( 0, 0 );
+  my $length = length;
+  m/\G\s*/gc;
 
-  while ( $i < length() ) {
-
-    my $ch      = substr( $_, $i  , 1 );
-    my $next_ch = substr( $_, $i+1, 1 );
-
-    if ( $ch eq '\\' && $next_ch eq '"' ) {
-      $arg .= '"';
-      $i++;
-    } elsif ( $ch eq '\\' && $next_ch eq '\\' ) {
-      $arg .= '\\';
-      $i++;
-    } elsif ( $ch eq '"' && $next_ch eq '"' && $quote_mode ) {
-      $quote_mode = !$quote_mode;
-      $arg .= '"';
-      $i++;
-    } elsif ( $ch eq '"' && $next_ch eq '"' && !$quote_mode &&
-             ( $i + 2 == length()  ||
-               substr( $_, $i + 2, 1 ) eq ' ' )
-           ) { # for cases like: a"" => [ 'a' ]
-      push( @argv, $arg );
-      $arg = '';
-      $i += 2;
-    } elsif ( $ch eq '"' ) {
-      $quote_mode = !$quote_mode;
-    } elsif ( $ch eq ' ' && !$quote_mode ) {
-      push( @argv, $arg ) if $arg;
-      $arg = '';
-      ++$i while substr( $_, $i + 1, 1 ) eq ' ';
-    } else {
-      $arg .= $ch;
+  ARGS: until ( pos == $length ) {
+    my $quote_mode;
+    my $arg = '';
+    CHARS: until ( pos == $length ) {
+      if ( m/\G((?:\\\\)+)(?=\\?(")?)/gc ) {
+          if (defined $2) {
+              $arg .= '\\' x (length($1) / 2);
+          }
+          else {
+              $arg .= $1;
+          }
+      }
+      elsif ( m/\G\\"/gc ) {
+        $arg .= '"';
+      }
+      elsif ( m/\G"/gc ) {
+        if ( $quote_mode && m/\G"/gc ) {
+            $arg .= '"';
+        }
+        $quote_mode = !$quote_mode;
+      }
+      elsif ( !$quote_mode && m/\G\s+/gc ) {
+        last;
+      }
+      elsif ( m/\G(.)/sgc ) {
+        $arg .= $1;
+      }
     }
-
-    $i++;
+    push @argv, $arg;
   }
 
-  push( @argv, $arg ) if defined( $arg ) && length( $arg );
   return @argv;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/Platform/aix.pm 
new/Module-Build-0.4218/lib/Module/Build/Platform/aix.pm
--- old/Module-Build-0.4212/lib/Module/Build/Platform/aix.pm    2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Platform/aix.pm    2016-04-24 
20:22:51.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 use Module::Build::Platform::Unix;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Module-Build-0.4212/lib/Module/Build/Platform/cygwin.pm 
new/Module-Build-0.4218/lib/Module/Build/Platform/cygwin.pm
--- old/Module-Build-0.4212/lib/Module/Build/Platform/cygwin.pm 2015-05-17 
00:46:53.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Platform/cygwin.pm 2016-04-24 
20:22:50.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 use Module::Build::Platform::Unix;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Module-Build-0.4212/lib/Module/Build/Platform/darwin.pm 
new/Module-Build-0.4218/lib/Module/Build/Platform/darwin.pm
--- old/Module-Build-0.4212/lib/Module/Build/Platform/darwin.pm 2015-05-17 
00:46:53.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Platform/darwin.pm 2016-04-24 
20:22:51.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 use Module::Build::Platform::Unix;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/Platform/os2.pm 
new/Module-Build-0.4218/lib/Module/Build/Platform/os2.pm
--- old/Module-Build-0.4212/lib/Module/Build/Platform/os2.pm    2015-05-17 
00:46:53.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/Platform/os2.pm    2016-04-24 
20:22:51.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 use Module::Build::Platform::Unix;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build/PodParser.pm 
new/Module-Build-0.4218/lib/Module/Build/PodParser.pm
--- old/Module-Build-0.4212/lib/Module/Build/PodParser.pm       2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/lib/Module/Build/PodParser.pm       2016-04-24 
20:22:50.000000000 +0200
@@ -2,7 +2,7 @@
 
 use strict;
 use warnings;
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 
 sub new {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/lib/Module/Build.pm 
new/Module-Build-0.4218/lib/Module/Build.pm
--- old/Module-Build-0.4212/lib/Module/Build.pm 2015-05-17 00:46:54.000000000 
+0200
+++ new/Module-Build-0.4218/lib/Module/Build.pm 2016-04-24 20:22:51.000000000 
+0200
@@ -19,7 +19,7 @@
 use Module::Build::Base;
 
 our @ISA = qw(Module::Build::Base);
-our $VERSION = '0.4212';
+our $VERSION = '0.4218';
 $VERSION = eval $VERSION;
 
 # Inserts the given module into the @ISA hierarchy between
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/ext.t 
new/Module-Build-0.4218/t/ext.t
--- old/Module-Build-0.4212/t/ext.t     2015-05-17 00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/t/ext.t     2016-04-24 20:22:50.000000000 +0200
@@ -54,6 +54,16 @@
    { 'a "" b'               => [ 'a', '', 'b'    ] },
    { 'a " " b'              => [ 'a', ' ', 'b'   ] },
    { 'a " b " c'            => [ 'a', ' b ', 'c' ] },
+   { 'a "0" c'              => [ 'a', '0', 'c'   ] },
+   { '"a\\b"'               => [ 'a\\b'          ] },
+   { '"a\\\\b"'             => [ 'a\\\\b'        ] },
+   { '"a\\\\\\b"'           => [ 'a\\\\\\b'      ] },
+   { '"a\\\\\\\\b"'         => [ 'a\\\\\\\\b'    ] },
+   { '"a\\"'                => [ 'a"'            ] },
+   { '"a\\\\"'              => [ 'a\\'           ] },
+   { '"a\\\\\\"'            => [ 'a\\"'          ] },
+   { '"a\\\\\\\\"'          => [ 'a\\\\'         ] },
+   { '"a\\\\\\""'           => [ 'a\\"'          ] },
 );
 
 plan tests => 9 + 4*@unix_splits + 4*@win_splits;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/extend.t 
new/Module-Build-0.4218/t/extend.t
--- old/Module-Build-0.4212/t/extend.t  2015-05-17 00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/t/extend.t  2016-04-24 20:22:50.000000000 +0200
@@ -178,7 +178,8 @@
   is $mb->bar, 'yow';
 }
 
-{
+SKIP: {
+  skip 'Need CPAN::Meta 2.142060 for Meta support', 4 if not eval { require 
CPAN::Meta; CPAN::Meta->VERSION(2.142060) };
   # Test the meta_add and meta_merge stuff
   ok my $mb = Module::Build->new(
                                  module_name => $dist->name,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/lib/MBTest.pm 
new/Module-Build-0.4218/t/lib/MBTest.pm
--- old/Module-Build-0.4212/t/lib/MBTest.pm     2015-05-17 00:46:53.000000000 
+0200
+++ new/Module-Build-0.4218/t/lib/MBTest.pm     2016-04-24 20:22:50.000000000 
+0200
@@ -144,6 +144,7 @@
 # Setup a temp directory
 sub tmpdir {
   my ($self, @args) = @_;
+  local $ENV{TMPDIR} = $ENV{TMPDIR} || '';
   my $dir = $ENV{PERL_CORE} ? MBTest->original_cwd : File::Spec->tmpdir;
   return File::Temp::tempdir('MB-XXXXXXXX', CLEANUP => 1, DIR => $dir, @args);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/manifypods_with_utf8.t 
new/Module-Build-0.4218/t/manifypods_with_utf8.t
--- old/Module-Build-0.4212/t/manifypods_with_utf8.t    2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/t/manifypods_with_utf8.t    2016-04-24 
20:22:50.000000000 +0200
@@ -7,13 +7,8 @@
 blib_load('Module::Build');
 blib_load('Module::Build::ConfigData');
 
-SKIP: {
-   unless ( Module::Build::ConfigData->feature('manpage_support') ) {
-     skip 'manpage_support feature is not enabled';
-   }
-}
-
-use MBTest tests => 2;
+use MBTest;
+plan($] > 5.008 ? (tests => 2) : skip_all => 'UTF-8 manpages require perl 
5.8.1');
 use File::Spec::Functions qw( catdir );
 
 use Cwd ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/metadata.t 
new/Module-Build-0.4218/t/metadata.t
--- old/Module-Build-0.4212/t/metadata.t        2015-05-17 00:46:54.000000000 
+0200
+++ new/Module-Build-0.4218/t/metadata.t        2016-04-24 20:22:51.000000000 
+0200
@@ -2,7 +2,14 @@
 
 use strict;
 use lib 't/lib';
-use MBTest tests => 14;
+use MBTest;
+
+if (eval { require CPAN::Meta; CPAN::Meta->VERSION(2.142060) }) {
+       plan(tests => 14);
+}
+else {
+       plan(skip_all => 'No or old CPAN::Meta');
+}
 
 blib_load('Module::Build');
 blib_load('Module::Build::ConfigData');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/metadata2.t 
new/Module-Build-0.4218/t/metadata2.t
--- old/Module-Build-0.4212/t/metadata2.t       2015-05-17 00:46:54.000000000 
+0200
+++ new/Module-Build-0.4218/t/metadata2.t       2016-04-24 20:22:51.000000000 
+0200
@@ -2,7 +2,14 @@
 
 use strict;
 use lib 't/lib';
-use MBTest tests => 18;
+use MBTest;
+
+if (eval { require CPAN::Meta; CPAN::Meta->VERSION(2.142060) }) {
+       plan(tests => 18);
+}
+else {
+       plan(skip_all => 'No or old CPAN::Meta');
+}
 
 blib_load('Module::Build');
 blib_load('Module::Build::ConfigData');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/mymeta.t 
new/Module-Build-0.4218/t/mymeta.t
--- old/Module-Build-0.4212/t/mymeta.t  2015-05-17 00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/t/mymeta.t  2016-04-24 20:22:50.000000000 +0200
@@ -3,10 +3,15 @@
 use strict;
 use lib 't/lib';
 use MBTest;
-use CPAN::Meta 2.110420;
-use CPAN::Meta::YAML;
-use Parse::CPAN::Meta 1.4401;
-plan tests => 41;
+
+if (eval { require CPAN::Meta; CPAN::Meta->VERSION(2.142060) }) {
+       plan(tests => 41);
+       require CPAN::Meta::YAML;
+       require Parse::CPAN::Meta;
+}
+else {
+       plan(skip_all => 'No or old CPAN::Meta');
+}
 
 blib_load('Module::Build');
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/properties/license.t 
new/Module-Build-0.4218/t/properties/license.t
--- old/Module-Build-0.4212/t/properties/license.t      2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/t/properties/license.t      2016-04-24 
20:22:51.000000000 +0200
@@ -3,7 +3,14 @@
 use MBTest;
 use DistGen;
 
-plan 'no_plan';
+if (eval { require CPAN::Meta; CPAN::Meta->VERSION(2.142060) }) {
+       plan('no_plan');
+       require CPAN::Meta::YAML;
+       require Parse::CPAN::Meta;
+}
+else {
+       plan(skip_all => 'No or old CPAN::Meta');
+}
 
 # Ensure any Module::Build modules are loaded from correct directory
 blib_load('Module::Build');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/properties/release_status.t 
new/Module-Build-0.4218/t/properties/release_status.t
--- old/Module-Build-0.4212/t/properties/release_status.t       2015-05-17 
00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/t/properties/release_status.t       2016-04-24 
20:22:51.000000000 +0200
@@ -65,22 +65,6 @@
 }
 
 {
-  my $dist = DistGen->new( name => 'Simple::Name', version => 'v1.2.3_1' );
-
-  $dist->change_build_pl(
-    module_name => 'Simple::Name',
-  )->regen;
-
-  $dist->chdir_in;
-
-  my $mb = $dist->new_from_context();
-  isa_ok( $mb, "Module::Build" );
-  is( $mb->release_status, "testing",
-    "dotted alpha version has release_status 'testing'"
-  );
-}
-
-{
   my $dist = DistGen->new( name => 'Simple::Name', version => q{'0.01_01'} );
 
   $dist->change_build_pl(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/runthrough.t 
new/Module-Build-0.4218/t/runthrough.t
--- old/Module-Build-0.4212/t/runthrough.t      2015-05-17 00:46:54.000000000 
+0200
+++ new/Module-Build-0.4218/t/runthrough.t      2016-04-24 20:22:51.000000000 
+0200
@@ -124,11 +124,14 @@
   # else it could get into the tarball
   ok ! -e File::Spec->catdir('Simple-0.01', 'blib');
 
-  # Make sure all of the above was done by the new version of Module::Build
-  open(my $fh, '<', File::Spec->catfile($dist->dirname, 'META.yml'));
-  my $contents = do {local $/; <$fh>};
-  $contents =~ /Module::Build version ([0-9_.]+)/m;
-  cmp_ok $1, '==', $mb->VERSION, "Check version used to create META.yml: $1 == 
" . $mb->VERSION;
+  SKIP: {
+    skip 'CPAN::Meta 2.142060+ not installed', 1 if not eval { require 
CPAN::Meta; CPAN::Meta->VERSION(2.142060) };
+    # Make sure all of the above was done by the new version of Module::Build
+    open(my $fh, '<', File::Spec->catfile($dist->dirname, 'META.yml'));
+    my $contents = do {local $/; <$fh>};
+    $contents =~ /Module::Build version ([0-9_.]+)/m;
+    cmp_ok $1, '==', $mb->VERSION, "Check version used to create META.yml: $1 
== " . $mb->VERSION;
+  }
 
   SKIP: {
     skip( "Archive::Tar 1.08+ not installed", 1 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/script_dist.t 
new/Module-Build-0.4218/t/script_dist.t
--- old/Module-Build-0.4212/t/script_dist.t     2015-05-17 00:46:54.000000000 
+0200
+++ new/Module-Build-0.4218/t/script_dist.t     2016-04-24 20:22:50.000000000 
+0200
@@ -73,7 +73,9 @@
 stdout_stderr_of( sub { $result = $mb->dispatch('distmeta') } );
 ok $result;
 
-my $yml = CPAN::Meta::YAML->read_string(slurp('META.yml'))->[0];
-is_deeply($yml->{provides}, \%meta_provides);
+if (eval { require CPAN::Meta; CPAN::Meta->VERSION(2.142060); }) {
+       my $yml = CPAN::Meta::YAML->read_string(slurp('META.yml'))->[0];
+       is_deeply($yml->{provides}, \%meta_provides);
+}
 
 $dist->chdir_original if $dist->did_chdir;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/test_reqs.t 
new/Module-Build-0.4218/t/test_reqs.t
--- old/Module-Build-0.4212/t/test_reqs.t       2015-05-17 00:46:54.000000000 
+0200
+++ new/Module-Build-0.4218/t/test_reqs.t       2016-04-24 20:22:51.000000000 
+0200
@@ -6,7 +6,16 @@
 use CPAN::Meta 2.110420;
 use CPAN::Meta::YAML;
 use Parse::CPAN::Meta 1.4401;
-plan tests => 4;
+
+if (eval { require CPAN::Meta; CPAN::Meta->VERSION(2.142060) }) {
+       plan(tests => 4);
+       require CPAN::Meta::YAML;
+       require Parse::CPAN::Meta;
+}
+else {
+       plan(skip_all => 'No or old CPAN::Meta');
+}
+
 
 blib_load('Module::Build');
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-Build-0.4212/t/xs.t 
new/Module-Build-0.4218/t/xs.t
--- old/Module-Build-0.4212/t/xs.t      2015-05-17 00:46:54.000000000 +0200
+++ new/Module-Build-0.4218/t/xs.t      2016-04-24 20:22:51.000000000 +0200
@@ -14,6 +14,8 @@
 
   if ( !$have_c_compiler ) {
     plan skip_all => 'No compiler found';
+  } elsif ( !$tmp_exec ) {
+    plan skip_all => 'Compiler is dysfunctional';
   } elsif ( $^O eq 'VMS' ) {
     plan skip_all => 'Child test output confuses harness';
   } elsif ( !$Config{usedl} ) {

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.Qv4S8z/_old  2016-05-31 12:08:17.000000000 +0200
+++ /var/tmp/diff_new_pack.Qv4S8z/_new  2016-05-31 12:08:17.000000000 +0200
@@ -4,8 +4,6 @@
 #sources:
 #  - source1
 #  - source2
-patches:
-  make-builds-reproducible.patch: -p1
 #preamble: |-
 # BuildRequires:  gcc-c++
 #post_prep: |-


Reply via email to