Hello community,

here is the log from the commit of package perl-ExtUtils-InstallPaths for 
openSUSE:Factory checked in at 2018-05-16 11:23:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-InstallPaths (Old)
 and      /work/SRC/openSUSE:Factory/.perl-ExtUtils-InstallPaths.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-ExtUtils-InstallPaths"

Wed May 16 11:23:40 2018 rev:6 rq:606962 version:0.012

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.changes
    2015-04-15 16:25:26.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-ExtUtils-InstallPaths.new/perl-ExtUtils-InstallPaths.changes
       2018-05-16 11:23:48.403102731 +0200
@@ -1,0 +2,10 @@
+Fri May 11 05:19:22 UTC 2018 - [email protected]
+
+- updated to 0.012
+   see /usr/share/doc/packages/perl-ExtUtils-InstallPaths/Changes
+
+  0.012     2018-05-10 21:03:33+02:00 Europe/Amsterdam
+            - Allow a argument to install_map with source dirs
+            - Make tests prove and 5.6 friendly
+
+-------------------------------------------------------------------

Old:
----
  ExtUtils-InstallPaths-0.011.tar.gz

New:
----
  ExtUtils-InstallPaths-0.012.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-ExtUtils-InstallPaths.spec ++++++
--- /var/tmp/diff_new_pack.DoiT0c/_old  2018-05-16 11:23:50.407029939 +0200
+++ /var/tmp/diff_new_pack.DoiT0c/_new  2018-05-16 11:23:50.407029939 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-ExtUtils-InstallPaths
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,14 +17,15 @@
 
 
 Name:           perl-ExtUtils-InstallPaths
-Version:        0.011
+Version:        0.012
 Release:        0
 %define cpan_name ExtUtils-InstallPaths
 Summary:        Build.PL install path logic made easy
-License:        Artistic-1.0 or GPL-1.0+
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/ExtUtils-InstallPaths/
-Source:         
http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -38,7 +39,7 @@
 
 When you want to install a module, it needs to figure out where to install
 things. The nutshell version of how this works is that default installation
-locations are determined from the ExtUtils::Config manpage, and they may be
+locations are determined from ExtUtils::Config, and they may be
 individually overridden by using the 'install_path' attribute. An
 'install_base' attribute lets you specify an alternative installation root
 like _/home/foo_ and 'prefix' does something similar in a rather different
@@ -50,48 +51,47 @@
 
 * * lib
 
-  Usually pure-Perl module files ending in _.pm_ or _.pod_.
+Usually pure-Perl module files ending in _.pm_ or _.pod_.
 
 * * arch
 
-  "Architecture-dependent" module files, usually produced by compiling XS,
-  the Inline manpage, or similar code.
+"Architecture-dependent" module files, usually produced by compiling XS,
+Inline, or similar code.
 
 * * script
 
-  Programs written in pure Perl. In order to improve reuse, you may want to
-  make these as small as possible - put the code into modules whenever
-  possible.
+Programs written in pure Perl. In order to improve reuse, you may want to
+make these as small as possible - put the code into modules whenever
+possible.
 
 * * bin
 
-  "Architecture-dependent" executable programs, i.e. compiled C code or
-  something. Pretty rare to see this in a perl distribution, but it
-  happens.
+"Architecture-dependent" executable programs, i.e. compiled C code or
+something. Pretty rare to see this in a perl distribution, but it happens.
 
 * * bindoc
 
-  Documentation for the stuff in 'script' and 'bin'. Usually generated from
-  the POD in those files. Under Unix, these are manual pages belonging to
-  the 'man1' category. Unless explicitly set, this is only available on
-  platforms supporting manpages.
+Documentation for the stuff in 'script' and 'bin'. Usually generated from
+the POD in those files. Under Unix, these are manual pages belonging to the
+'man1' category. Unless explicitly set, this is only available on platforms
+supporting manpages.
 
 * * libdoc
 
-  Documentation for the stuff in 'lib' and 'arch'. This is usually
-  generated from the POD in _.pm_ and _.pod_ files. Under Unix, these are
-  manual pages belonging to the 'man3' category. Unless explicitly set,
-  this is only available on platforms supporting manpages.
+Documentation for the stuff in 'lib' and 'arch'. This is usually generated
+from the POD in _.pm_ and _.pod_ files. Under Unix, these are manual pages
+belonging to the 'man3' category. Unless explicitly set, this is only
+available on platforms supporting manpages.
 
 * * binhtml
 
-  This is the same as 'bindoc' above, but applies to HTML documents. Unless
-  explicitly set, this is only available when perl was configured to do so.
+This is the same as 'bindoc' above, but applies to HTML documents. Unless
+explicitly set, this is only available when perl was configured to do so.
 
 * * libhtml
 
-  This is the same as 'libdoc' above, but applies to HTML documents. Unless
-  explicitly set, this is only available when perl was configured to do so.
+This is the same as 'libdoc' above, but applies to HTML documents. Unless
+explicitly set, this is only available when perl was configured to do so.
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
@@ -110,6 +110,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes
+%license LICENSE
 
 %changelog

++++++ ExtUtils-InstallPaths-0.011.tar.gz -> ExtUtils-InstallPaths-0.012.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/Changes 
new/ExtUtils-InstallPaths-0.012/Changes
--- old/ExtUtils-InstallPaths-0.011/Changes     2015-02-16 00:48:22.000000000 
+0100
+++ new/ExtUtils-InstallPaths-0.012/Changes     2018-05-10 21:03:35.000000000 
+0200
@@ -1,5 +1,9 @@
 Revision history for ExtUtils-InstallPaths
 
+0.012     2018-05-10 21:03:33+02:00 Europe/Amsterdam
+          - Allow a argument to install_map with source dirs
+          - Make tests prove and 5.6 friendly
+
 0.011     2015-02-16 00:47:54+01:00 Europe/Amsterdam
           Make EU::IP compatible with perl 5.6
           Declare dependency on File::Spec 0.83 for case_sensitive
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/INSTALL 
new/ExtUtils-InstallPaths-0.012/INSTALL
--- old/ExtUtils-InstallPaths-0.011/INSTALL     2015-02-16 00:48:22.000000000 
+0100
+++ new/ExtUtils-InstallPaths-0.012/INSTALL     2018-05-10 21:03:35.000000000 
+0200
@@ -1,4 +1,3 @@
-
 This is the Perl distribution ExtUtils-InstallPaths.
 
 Installing ExtUtils-InstallPaths is straightforward.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/MANIFEST 
new/ExtUtils-InstallPaths-0.012/MANIFEST
--- old/ExtUtils-InstallPaths-0.011/MANIFEST    2015-02-16 00:48:22.000000000 
+0100
+++ new/ExtUtils-InstallPaths-0.012/MANIFEST    2018-05-10 21:03:35.000000000 
+0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v5.025.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.010.
 Changes
 INSTALL
 LICENSE
@@ -6,10 +6,8 @@
 META.json
 META.yml
 Makefile.PL
-README
 dist.ini
 lib/ExtUtils/InstallPaths.pm
-t/00-compile.t
 t/destinations.t
-t/release-pod-coverage.t
-t/release-pod-syntax.t
+xt/author/pod-coverage.t
+xt/author/pod-syntax.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/META.json 
new/ExtUtils-InstallPaths-0.012/META.json
--- old/ExtUtils-InstallPaths-0.011/META.json   2015-02-16 00:48:22.000000000 
+0100
+++ new/ExtUtils-InstallPaths-0.012/META.json   2018-05-10 21:03:35.000000000 
+0200
@@ -5,13 +5,13 @@
       "Leon Timmermans <[email protected]>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 5.025, CPAN::Meta::Converter version 
2.143240",
+   "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 
2.150005",
    "license" : [
       "perl_5"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : "2"
+      "version" : 2
    },
    "name" : "ExtUtils-InstallPaths",
    "prereqs" : {
@@ -23,6 +23,7 @@
       "develop" : {
          "requires" : {
             "Pod::Coverage::TrustPod" : "0",
+            "Test::More" : "0",
             "Test::Pod" : "1.41",
             "Test::Pod::Coverage" : "1.08"
          }
@@ -39,11 +40,8 @@
       },
       "test" : {
          "requires" : {
-            "File::Spec" : "0",
             "File::Spec::Functions" : "0.83",
             "File::Temp" : "0",
-            "IO::Handle" : "0",
-            "IPC::Open3" : "0",
             "Test::More" : "0"
          }
       }
@@ -51,7 +49,7 @@
    "provides" : {
       "ExtUtils::InstallPaths" : {
          "file" : "lib/ExtUtils/InstallPaths.pm",
-         "version" : "0.011"
+         "version" : "0.012"
       }
    },
    "release_status" : "stable",
@@ -66,6 +64,7 @@
          "web" : "https://github.com/Leont/extutils-installpaths";
       }
    },
-   "version" : "0.011"
+   "version" : "0.012",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 3.0215"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/META.yml 
new/ExtUtils-InstallPaths-0.012/META.yml
--- old/ExtUtils-InstallPaths-0.011/META.yml    2015-02-16 00:48:22.000000000 
+0100
+++ new/ExtUtils-InstallPaths-0.012/META.yml    2018-05-10 21:03:35.000000000 
+0200
@@ -4,16 +4,13 @@
   - 'Ken Williams <[email protected]>'
   - 'Leon Timmermans <[email protected]>'
 build_requires:
-  File::Spec: '0'
   File::Spec::Functions: '0.83'
   File::Temp: '0'
-  IO::Handle: '0'
-  IPC::Open3: '0'
   Test::More: '0'
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.025, CPAN::Meta::Converter version 
2.143240'
+generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 
2.150005'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -22,7 +19,7 @@
 provides:
   ExtUtils::InstallPaths:
     file: lib/ExtUtils/InstallPaths.pm
-    version: '0.011'
+    version: '0.012'
 requires:
   Carp: '0'
   ExtUtils::Config: '0.002'
@@ -33,4 +30,5 @@
 resources:
   bugtracker: 
http://rt.cpan.org/Public/Dist/Display.html?Name=ExtUtils-InstallPaths
   repository: git://github.com/Leont/extutils-installpaths.git
-version: '0.011'
+version: '0.012'
+x_serialization_backend: 'YAML::Tiny version 1.69'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/Makefile.PL 
new/ExtUtils-InstallPaths-0.012/Makefile.PL
--- old/ExtUtils-InstallPaths-0.011/Makefile.PL 2015-02-16 00:48:22.000000000 
+0100
+++ new/ExtUtils-InstallPaths-0.012/Makefile.PL 2018-05-10 21:03:35.000000000 
+0200
@@ -1,5 +1,4 @@
-
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v5.025.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.010.
 use strict;
 use warnings;
 
@@ -7,8 +6,6 @@
 
 use ExtUtils::MakeMaker;
 
-
-
 my %WriteMakefileArgs = (
   "ABSTRACT" => "Build.PL install path logic made easy",
   "AUTHOR" => "Ken Williams <kwilliams\@cpan.org>, Leon Timmermans 
<leont\@cpan.org>",
@@ -16,7 +13,6 @@
     "ExtUtils::MakeMaker" => 0
   },
   "DISTNAME" => "ExtUtils-InstallPaths",
-  "EXE_FILES" => [],
   "LICENSE" => "perl",
   "MIN_PERL_VERSION" => "5.006",
   "NAME" => "ExtUtils::InstallPaths",
@@ -28,14 +24,11 @@
     "warnings" => 0
   },
   "TEST_REQUIRES" => {
-    "File::Spec" => 0,
     "File::Spec::Functions" => "0.83",
     "File::Temp" => 0,
-    "IO::Handle" => 0,
-    "IPC::Open3" => 0,
     "Test::More" => 0
   },
-  "VERSION" => "0.011",
+  "VERSION" => "0.012",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -45,12 +38,9 @@
 my %FallbackPrereqs = (
   "Carp" => 0,
   "ExtUtils::Config" => "0.002",
-  "ExtUtils::MakeMaker" => 0,
   "File::Spec" => 0,
   "File::Spec::Functions" => "0.83",
   "File::Temp" => 0,
-  "IO::Handle" => 0,
-  "IPC::Open3" => 0,
   "Test::More" => 0,
   "strict" => 0,
   "warnings" => 0
@@ -67,6 +57,3 @@
   unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
 
 WriteMakefile(%WriteMakefileArgs);
-
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/README 
new/ExtUtils-InstallPaths-0.012/README
--- old/ExtUtils-InstallPaths-0.011/README      2015-02-16 00:48:22.000000000 
+0100
+++ new/ExtUtils-InstallPaths-0.012/README      1970-01-01 01:00:00.000000000 
+0100
@@ -1,15 +0,0 @@
-
-
-This archive contains the distribution ExtUtils-InstallPaths,
-version 0.011:
-
-  Build.PL install path logic made easy
-
-This software is copyright (c) 2011 by Ken Williams, Leon Timmermans.
-
-This is free software; you can redistribute it and/or modify it under
-the same terms as the Perl 5 programming language system itself.
-
-
-This README file was generated by Dist::Zilla::Plugin::Readme v5.025.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/dist.ini 
new/ExtUtils-InstallPaths-0.012/dist.ini
--- old/ExtUtils-InstallPaths-0.011/dist.ini    2015-02-16 00:48:22.000000000 
+0100
+++ new/ExtUtils-InstallPaths-0.012/dist.ini    2018-05-10 21:03:35.000000000 
+0200
@@ -5,5 +5,38 @@
 copyright_holder = Ken Williams, Leon Timmermans
 copyright_year   = 2011
 
-[@LEONT::PP]
-AutoPrereqs.skip = VMS::Filespec
+[Git::GatherDir]
+[PruneCruft]
+[MetaYAML]
+[License]
+[Manifest]
+
+[AutoPrereqs]
+skip = VMS::Filespec
+[MetaJSON]
+[Repository]
+[Bugtracker]
+[Git::NextVersion]
+[MetaProvides::Package]
+
+[MakeMaker]
+
+[PodSyntaxTests]
+[PodCoverageTests]
+
+[InstallGuide]
+[PodWeaver]
+[PkgVersion]
+[NextRelease]
+
+[CheckChangesHasContent]
+[Git::Check]
+[RunExtraTests]
+[TestRelease]
+[ConfirmRelease]
+
+[UploadToCPAN]
+
+[Git::Commit]
+[Git::Tag]
+[Git::Push]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ExtUtils-InstallPaths-0.011/lib/ExtUtils/InstallPaths.pm 
new/ExtUtils-InstallPaths-0.012/lib/ExtUtils/InstallPaths.pm
--- old/ExtUtils-InstallPaths-0.011/lib/ExtUtils/InstallPaths.pm        
2015-02-16 00:48:22.000000000 +0100
+++ new/ExtUtils-InstallPaths-0.012/lib/ExtUtils/InstallPaths.pm        
2018-05-10 21:03:35.000000000 +0200
@@ -1,5 +1,5 @@
 package ExtUtils::InstallPaths;
-$ExtUtils::InstallPaths::VERSION = '0.011';
+$ExtUtils::InstallPaths::VERSION = '0.012';
 use 5.006;
 use strict;
 use warnings;
@@ -16,7 +16,6 @@
        install_base    => undef,
        prefix          => undef,
        verbose         => 0,
-       blib            => 'blib',
        create_packlist => 1,
        dist_name       => undef,
        module_name     => undef,
@@ -329,23 +328,23 @@
 }
 
 sub install_map {
-       my ($self, $blib) = @_;
-       $blib ||= $self->blib;
+       my ($self, $dirs) = @_;
 
-       my (%map, @skipping);
-       foreach my $type ($self->install_types) {
-               my $localdir = File::Spec->catdir($blib, $type);
-               next unless -e $localdir;
-
-               # the line "...next if (($type eq 'bindoc'..." was one of many 
changes introduced for
-               # improving HTML generation on ActivePerl, see 
https://rt.cpan.org/Public/Bug/Display.html?id=53478
-               # Most changes were ok, but this particular line caused test 
failures in t/manifypods.t on windows,
-               # therefore it is commented out.
-
-               # ********* next if (($type eq 'bindoc' || $type eq 'libdoc') 
&& not $self->is_unixish);
+       my %localdir_for;
+       if ($dirs && %$dirs) {
+               %localdir_for = %$dirs;
+       }
+       else {
+               foreach my $type ($self->install_types) {
+                       $localdir_for{$type} = File::Spec->catdir('blib', 
$type);
+               }
+       }
 
+       my (%map, @skipping);
+       foreach my $type (keys %localdir_for) {
+               next if not -e $localdir_for{$type};
                if (my $dest = $self->install_destination($type)) {
-                       $map{$localdir} = $dest;
+                       $map{$localdir_for{$type}} = $dest;
                } else {
                        push @skipping, $type;
                }
@@ -405,7 +404,7 @@
 
 =head1 VERSION
 
-version 0.011
+version 0.012
 
 =head1 SYNOPSIS
 
@@ -508,10 +507,6 @@
 
 The verbosity of ExtUtils::InstallPaths. It defaults to 0
 
-=head2 blib
-
-The location of the blib directory, it defaults to 'blib'.
-
 =head2 create_packlist
 
 Together with C<module_name> this controls whether a packlist will be added; 
it defaults to 1.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/t/00-compile.t 
new/ExtUtils-InstallPaths-0.012/t/00-compile.t
--- old/ExtUtils-InstallPaths-0.011/t/00-compile.t      2015-02-16 
00:48:22.000000000 +0100
+++ new/ExtUtils-InstallPaths-0.012/t/00-compile.t      1970-01-01 
01:00:00.000000000 +0100
@@ -1,51 +0,0 @@
-use 5.006;
-use strict;
-use warnings;
-
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051
-
-use Test::More;
-
-plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
-
-my @module_files = (
-    'ExtUtils/InstallPaths.pm'
-);
-
-
-
-# no fake home requested
-
-my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib';
-
-use File::Spec;
-use IPC::Open3;
-use IO::Handle;
-
-open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
-
-my @warnings;
-for my $lib (@module_files)
-{
-    # see L<perlfaq8/How can I capture STDERR from an external command?>
-    my $stderr = IO::Handle->new;
-
-    my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', 
"require q[$lib]");
-    binmode $stderr, ':crlf' if $^O eq 'MSWin32';
-    my @_warnings = <$stderr>;
-    waitpid($pid, 0);
-    is($?, 0, "$lib loaded ok");
-
-    if (@_warnings)
-    {
-        warn @_warnings;
-        push @warnings, @_warnings;
-    }
-}
-
-
-
-is(scalar(@warnings), 0, 'no warnings found')
-    or diag 'got warnings: ', ( Test::More->can('explain') ? 
Test::More::explain(\@warnings) : join("\n", '', @warnings) ) if 
$ENV{AUTHOR_TESTING};
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/t/destinations.t 
new/ExtUtils-InstallPaths-0.012/t/destinations.t
--- old/ExtUtils-InstallPaths-0.011/t/destinations.t    2015-02-16 
00:48:22.000000000 +0100
+++ new/ExtUtils-InstallPaths-0.012/t/destinations.t    2018-05-10 
21:03:35.000000000 +0200
@@ -1,14 +1,21 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 
 use strict;
 use warnings FATAL => 'all';
-use Test::More tests => 105;
+use Test::More tests => 111;
 
 use Config;
-use File::Temp ();
+use File::Temp 'tempdir';
 
 use File::Spec::Functions 0.83 ':ALL';
-my $tmp = File::Temp::tempdir('EIP-XXXXXXXX', CLEANUP => 1, DIR => tmpdir);
+
+my $tmp = tempdir('EIP-XXXXXXXX', CLEANUP => 1, DIR => tmpdir);
+my $source = tempdir('EIP-XXXXXXXX', CLEANUP => 1, DIR => tmpdir);
+chdir $source;
+mkdir 'blib';
+for my $subdir (qw/lib arch bin script man1 man3/) {
+       mkdir catdir('blib', $subdir);
+}
 
 use ExtUtils::Config;
 use ExtUtils::InstallPaths;
@@ -144,6 +151,20 @@
                catdir('blib', 'bin')     => catdir($install_base, 'bin'),
                catdir('blib', 'script')  => catdir($install_base, 'bin'),
        }, 'install_base');
+
+       test_install_map($ei, {
+               read                       => '',
+               write                      => 
catfile($ei->install_destination('arch'), qw/auto ExtUtils InstallPaths 
.packlist/),
+               catdir('blib', 'lib')     => catdir($install_base, 'lib', 
'perl5'),
+               catdir('blib', 'arch')    => catdir($install_base, 'lib', 
'perl5', $Config{archname}),
+               catdir('blib', 'bin')     => catdir($install_base, 'bin'),
+               catdir('blib', 'script')  => catdir($install_base, 'bin'),
+       }, 'install_base', {
+               lib    => catdir(qw/blib lib/),
+               arch   => catdir(qw/blib arch/),
+               bin    => catdir(qw/blib bin/),
+               script => catdir(qw/blib script/),
+       });
 }
 
 
@@ -273,11 +294,11 @@
 }
 
 sub test_install_map {
-       my ($paths, $expect, $case) = @_;
+       my ($paths, $expect, $case, @args) = @_;
 
        local $Test::Builder::Level = $Test::Builder::Level + 1;
 
-       my $map = $paths->install_map;
+       my $map = $paths->install_map(@args);
        while(my ($type, $expect) = each %$expect) {
                is($map->{$type}, $expect, "$type destination for $case");
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/t/release-pod-coverage.t 
new/ExtUtils-InstallPaths-0.012/t/release-pod-coverage.t
--- old/ExtUtils-InstallPaths-0.011/t/release-pod-coverage.t    2015-02-16 
00:48:22.000000000 +0100
+++ new/ExtUtils-InstallPaths-0.012/t/release-pod-coverage.t    1970-01-01 
01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-#!perl
-
-BEGIN {
-  unless ($ENV{RELEASE_TESTING}) {
-    require Test::More;
-    Test::More::plan(skip_all => 'these tests are for release candidate 
testing');
-  }
-}
-
-# This file was automatically generated by 
Dist::Zilla::Plugin::PodCoverageTests.
-
-use Test::Pod::Coverage 1.08;
-use Pod::Coverage::TrustPod;
-
-all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/t/release-pod-syntax.t 
new/ExtUtils-InstallPaths-0.012/t/release-pod-syntax.t
--- old/ExtUtils-InstallPaths-0.011/t/release-pod-syntax.t      2015-02-16 
00:48:22.000000000 +0100
+++ new/ExtUtils-InstallPaths-0.012/t/release-pod-syntax.t      1970-01-01 
01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-#!perl
-
-BEGIN {
-  unless ($ENV{RELEASE_TESTING}) {
-    require Test::More;
-    Test::More::plan(skip_all => 'these tests are for release candidate 
testing');
-  }
-}
-
-# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
-use Test::More;
-use Test::Pod 1.41;
-
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/xt/author/pod-coverage.t 
new/ExtUtils-InstallPaths-0.012/xt/author/pod-coverage.t
--- old/ExtUtils-InstallPaths-0.011/xt/author/pod-coverage.t    1970-01-01 
01:00:00.000000000 +0100
+++ new/ExtUtils-InstallPaths-0.012/xt/author/pod-coverage.t    2018-05-10 
21:03:35.000000000 +0200
@@ -0,0 +1,7 @@
+#!perl
+# This file was automatically generated by 
Dist::Zilla::Plugin::PodCoverageTests.
+
+use Test::Pod::Coverage 1.08;
+use Pod::Coverage::TrustPod;
+
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-InstallPaths-0.011/xt/author/pod-syntax.t 
new/ExtUtils-InstallPaths-0.012/xt/author/pod-syntax.t
--- old/ExtUtils-InstallPaths-0.011/xt/author/pod-syntax.t      1970-01-01 
01:00:00.000000000 +0100
+++ new/ExtUtils-InstallPaths-0.012/xt/author/pod-syntax.t      2018-05-10 
21:03:35.000000000 +0200
@@ -0,0 +1,7 @@
+#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
+use strict; use warnings;
+use Test::More;
+use Test::Pod 1.41;
+
+all_pod_files_ok();

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to