Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-CPAN-Meta-Check for openSUSE:Factory checked in at 2023-02-01 16:38:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-CPAN-Meta-Check (Old) and /work/SRC/openSUSE:Factory/.perl-CPAN-Meta-Check.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-CPAN-Meta-Check" Wed Feb 1 16:38:41 2023 rev:18 rq:1062250 version:0.017 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.changes 2016-12-05 16:31:34.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-CPAN-Meta-Check.new.32243/perl-CPAN-Meta-Check.changes 2023-02-01 16:49:24.941336020 +0100 @@ -1,0 +2,15 @@ +Wed Jan 4 03:06:48 UTC 2023 - Tina Müller <timueller+p...@suse.de> + +- updated to 0.017 + see /usr/share/doc/packages/perl-CPAN-Meta-Check/Changes + + 0.017 2023-01-03 16:53:14+01:00 Europe/Amsterdam + - Use Module::Metadata for more accurate testing + + 0.016 2023-01-03 14:25:46+01:00 Europe/Amsterdam + - Fix rounding issue in test + + 0.015 2023-01-03 03:42:47+01:00 Europe/Amsterdam + - Drop Test::Deep prereq + +------------------------------------------------------------------- Old: ---- CPAN-Meta-Check-0.014.tar.gz New: ---- CPAN-Meta-Check-0.017.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-CPAN-Meta-Check.spec ++++++ --- /var/tmp/diff_new_pack.BqTzdO/_old 2023-02-01 16:49:25.321338315 +0100 +++ /var/tmp/diff_new_pack.BqTzdO/_new 2023-02-01 16:49:25.325338339 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-CPAN-Meta-Check # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define cpan_name CPAN-Meta-Check Name: perl-CPAN-Meta-Check -Version: 0.014 +Version: 0.017 Release: 0 -%define cpan_name CPAN-Meta-Check +License: Artistic-1.0 OR GPL-1.0-or-later Summary: Verify requirements in a CPAN::Meta object -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/CPAN-Meta-Check/ -Source0: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +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 BuildRequires: perl-macros BuildRequires: perl(CPAN::Meta) >= 2.120920 BuildRequires: perl(CPAN::Meta::Prereqs) >= 2.132830 BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121000 BuildRequires: perl(Module::Metadata) >= 1.000023 -BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(CPAN::Meta::Prereqs) >= 2.132830 Requires: perl(CPAN::Meta::Requirements) >= 2.121000 @@ -46,14 +43,14 @@ present. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -61,7 +58,7 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes LICENSE README +%doc Changes README +%license LICENSE %changelog ++++++ CPAN-Meta-Check-0.014.tar.gz -> CPAN-Meta-Check-0.017.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/Changes new/CPAN-Meta-Check-0.017/Changes --- old/CPAN-Meta-Check-0.014/Changes 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/Changes 2023-01-03 16:53:16.000000000 +0100 @@ -1,5 +1,14 @@ Revision history for CPAN-Meta-Check +0.017 2023-01-03 16:53:14+01:00 Europe/Amsterdam + - Use Module::Metadata for more accurate testing + +0.016 2023-01-03 14:25:46+01:00 Europe/Amsterdam + - Fix rounding issue in test + +0.015 2023-01-03 03:42:47+01:00 Europe/Amsterdam + - Drop Test::Deep prereq + 0.014 2016-11-25 13:09:01+01:00 Europe/Amsterdam - Undef versions are now passed through to CPAN::Meta::Requirements for the check, rather than failing with "Missing version" errors. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/INSTALL new/CPAN-Meta-Check-0.017/INSTALL --- old/CPAN-Meta-Check-0.014/INSTALL 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/INSTALL 2023-01-03 16:53:16.000000000 +0100 @@ -8,10 +8,10 @@ % cpanm CPAN::Meta::Check -If you are installing into a system-wide directory, you may need to pass the -"-S" flag to cpanm, which uses sudo to install the module: - - % cpanm -S CPAN::Meta::Check +If it does not have permission to install modules to the current perl, cpanm +will automatically set up and install to a local::lib in your home directory. +See the local::lib documentation (https://metacpan.org/pod/local::lib) for +details on enabling it in your environment. ## Installing with the CPAN shell @@ -21,8 +21,11 @@ ## Manual installation -As a last resort, you can manually install it. Download the tarball, untar it, -then build it: +As a last resort, you can manually install it. If you have not already +downloaded the release tarball, you can find the download link on the module's +MetaCPAN page: https://metacpan.org/pod/CPAN::Meta::Check + +Untar the tarball, install configure prerequisites (see below), then build it: % perl Makefile.PL % make && make test @@ -31,13 +34,42 @@ % make install -If you are installing into a system-wide directory, you may need to run: +On Windows platforms, you should use `dmake` or `nmake`, instead of `make`. + +If your perl is system-managed, you can create a local::lib in your home +directory to install modules to. For details, see the local::lib documentation: +https://metacpan.org/pod/local::lib + +The prerequisites of this distribution will also have to be installed manually. The +prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated +by running the manual build process described above. + +## Configure Prerequisites - % sudo make install +This distribution requires other modules to be installed before this +distribution's installer can be run. They can be found under the +"configure_requires" key of META.yml or the +"{prereqs}{configure}{requires}" key of META.json. + +## Other Prerequisites + +This distribution may require additional modules to be installed after running +Makefile.PL. +Look for prerequisites in the following phases: + +* to run make, PHASE = build +* to use the module code itself, PHASE = runtime +* to run tests, PHASE = test + +They can all be found in the "PHASE_requires" key of MYMETA.yml or the +"{prereqs}{PHASE}{requires}" key of MYMETA.json. ## Documentation CPAN-Meta-Check documentation is available as POD. -You can run perldoc from a shell to read the documentation: +You can run `perldoc` from a shell to read the documentation: % perldoc CPAN::Meta::Check + +For more information on installing Perl modules via CPAN, please see: +https://www.cpan.org/modules/INSTALL.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/LICENSE new/CPAN-Meta-Check-0.017/LICENSE --- old/CPAN-Meta-Check-0.014/LICENSE 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/LICENSE 2023-01-03 16:53:16.000000000 +0100 @@ -292,21 +292,21 @@ - "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through - textual modification. + textual modification. - "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright - Holder. + Holder. - "Copyright Holder" is whoever is named in the copyright or copyrights for - the package. + the package. - "You" is you, if you're thinking about copying or distributing this Package. - "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the - computing community at large as a market that must bear the fee.) + computing community at large as a market that must bear the fee.) - "Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they - received it. + received it. 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you @@ -373,7 +373,7 @@ 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. The End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/MANIFEST new/CPAN-Meta-Check-0.017/MANIFEST --- old/CPAN-Meta-Check-0.014/MANIFEST 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/MANIFEST 2023-01-03 16:53:16.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.007. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.029. Changes INSTALL LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/META.json new/CPAN-Meta-Check-0.017/META.json --- old/CPAN-Meta-Check-0.014/META.json 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/META.json 2023-01-03 16:53:16.000000000 +0100 @@ -4,7 +4,7 @@ "Leon Timmermans <le...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.007, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Dist::Zilla version 6.029, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -29,7 +29,6 @@ "Test::More" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", - "blib" : "1.01", "perl" : "5.006" } }, @@ -49,7 +48,7 @@ "requires" : { "CPAN::Meta" : "2.120920", "Env" : "0", - "Test::Deep" : "0", + "Scalar::Util" : "0", "Test::More" : "0.88", "lib" : "0", "perl" : "5.006" @@ -59,7 +58,7 @@ "provides" : { "CPAN::Meta::Check" : { "file" : "lib/CPAN/Meta/Check.pm", - "version" : "0.014" + "version" : "0.017" } }, "release_status" : "stable", @@ -74,12 +73,15 @@ "web" : "https://github.com/Leont/cpan-meta-check" } }, - "version" : "0.014", + "version" : "0.017", "x_contributors" : [ "David Steinbrunner <dsteinbrun...@pobox.com>", + "Graham Knop <ha...@haarg.org>", "Karen Etheridge <et...@cpan.org>", "Leon Timmermans <faw...@gmail.com>" ], - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0215" + "x_generated_by_perl" : "v5.36.0", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.29", + "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/META.yml new/CPAN-Meta-Check-0.017/META.yml --- old/CPAN-Meta-Check-0.014/META.yml 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/META.yml 2023-01-03 16:53:16.000000000 +0100 @@ -5,7 +5,7 @@ build_requires: CPAN::Meta: '2.120920' Env: '0' - Test::Deep: '0' + Scalar::Util: '0' Test::More: '0.88' lib: '0' perl: '5.006' @@ -13,7 +13,7 @@ ExtUtils::MakeMaker: '0' perl: '5.006' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.007, CPAN::Meta::Converter version 2.150005' +generated_by: 'Dist::Zilla version 6.029, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -22,7 +22,7 @@ provides: CPAN::Meta::Check: file: lib/CPAN/Meta/Check.pm - version: '0.014' + version: '0.017' requires: CPAN::Meta::Prereqs: '2.132830' CPAN::Meta::Requirements: '2.121' @@ -35,9 +35,12 @@ resources: bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Meta-Check repository: git://github.com/Leont/cpan-meta-check.git -version: '0.014' +version: '0.017' x_contributors: - 'David Steinbrunner <dsteinbrun...@pobox.com>' + - 'Graham Knop <ha...@haarg.org>' - 'Karen Etheridge <et...@cpan.org>' - 'Leon Timmermans <faw...@gmail.com>' -x_serialization_backend: 'YAML::Tiny version 1.69' +x_generated_by_perl: v5.36.0 +x_serialization_backend: 'YAML::Tiny version 1.73' +x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/Makefile.PL new/CPAN-Meta-Check-0.017/Makefile.PL --- old/CPAN-Meta-Check-0.014/Makefile.PL 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/Makefile.PL 2023-01-03 16:53:16.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.007. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.029. use strict; use warnings; @@ -28,11 +28,11 @@ "TEST_REQUIRES" => { "CPAN::Meta" => "2.120920", "Env" => 0, - "Test::Deep" => 0, + "Scalar::Util" => 0, "Test::More" => "0.88", "lib" => 0 }, - "VERSION" => "0.014", + "VERSION" => "0.017", "test" => { "TESTS" => "t/*.t" } @@ -46,7 +46,7 @@ "Env" => 0, "Exporter" => 0, "Module::Metadata" => "1.000023", - "Test::Deep" => 0, + "Scalar::Util" => 0, "Test::More" => "0.88", "base" => 0, "lib" => 0, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/README new/CPAN-Meta-Check-0.017/README --- old/CPAN-Meta-Check-0.014/README 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/README 2023-01-03 16:53:16.000000000 +0100 @@ -1,7 +1,5 @@ - - This archive contains the distribution CPAN-Meta-Check, -version 0.014: +version 0.017: Verify requirements in a CPAN::Meta object @@ -11,5 +9,4 @@ the same terms as the Perl 5 programming language system itself. -This README file was generated by Dist::Zilla::Plugin::Readme v6.007. - +This README file was generated by Dist::Zilla::Plugin::Readme v6.029. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/lib/CPAN/Meta/Check.pm new/CPAN-Meta-Check-0.017/lib/CPAN/Meta/Check.pm --- old/CPAN-Meta-Check-0.014/lib/CPAN/Meta/Check.pm 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/lib/CPAN/Meta/Check.pm 2023-01-03 16:53:16.000000000 +0100 @@ -1,5 +1,6 @@ package CPAN::Meta::Check; -$CPAN::Meta::Check::VERSION = '0.014'; +# vi:noet:sts=2:sw=2:ts=2 +$CPAN::Meta::Check::VERSION = '0.017'; use strict; use warnings; @@ -80,7 +81,7 @@ =head1 VERSION -version 0.014 +version 0.017 =head1 SYNOPSIS @@ -114,8 +115,6 @@ =item * L<CPAN::Meta|CPAN::Meta> -=for comment # vi:noet:sts=2:sw=2:ts=2 - =back =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/t/10-basics.t new/CPAN-Meta-Check-0.017/t/10-basics.t --- old/CPAN-Meta-Check-0.014/t/10-basics.t 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/t/10-basics.t 2023-01-03 16:53:16.000000000 +0100 @@ -3,13 +3,16 @@ use strict; use warnings; use Test::More 0.88; -use Test::Deep; use CPAN::Meta 2.120920; use CPAN::Meta::Check qw/check_requirements verify_dependencies/; +use Module::Metadata; +use Scalar::Util (); use Env (); +my $scalar_version = Module::Metadata->new_from_module('Scalar::Util')->version; + my %prereq_struct = ( runtime => { requires => { @@ -24,9 +27,9 @@ Env => 99999, }, conflicts => { - 'CPAN::Meta' => '<= 100.0', # check should fail - 'Test::Deep' => '== ' . Test::Deep->VERSION, # check should fail - 'Test::More' => '<= 0.01', # check should pass (up to 0.01 is bad) + 'CPAN::Meta' => '<= 100.0', # check should fail + 'Scalar::Util' => "== $scalar_version", # check should fail + 'Test::More' => '<= 0.01', # check should pass (up to 0.01 is bad) }, }, build => { @@ -38,26 +41,26 @@ my $meta = CPAN::Meta->create({ prereqs => \%prereq_struct, version => 1, name => 'Foo' }, { lazy_validation => 1 }); -cmp_deeply([ verify_dependencies($meta, 'runtime', 'requires') ], [], 'Requirements are verified'); +is_deeply([ verify_dependencies($meta, 'runtime', 'requires') ], [], 'Requirements are verified'); my $pre_req = $meta->effective_prereqs->requirements_for('runtime', 'requires'); is($pre_req->required_modules, 4, 'Requires 4 modules'); -cmp_deeply(check_requirements($pre_req, 'requires'), { map { ( $_ => undef ) } qw/Config File::Spec IO::File perl/ }, 'Requirements are satisfied '); +is_deeply(check_requirements($pre_req, 'requires'), { map { ( $_ => undef ) } qw/Config File::Spec IO::File perl/ }, 'Requirements are satisfied '); my $pre_rec = $meta->effective_prereqs->requirements_for('runtime', 'recommends'); -cmp_deeply([ sort +$pre_rec->required_modules ], [ qw/Env Pod::Text This::Should::Be::NonExistent/ ], 'The right recommendations are present'); -cmp_deeply(check_requirements($pre_rec, 'recommends'), { +is_deeply([ sort +$pre_rec->required_modules ], [ qw/Env Pod::Text This::Should::Be::NonExistent/ ], 'The right recommendations are present'); +is_deeply(check_requirements($pre_rec, 'recommends'), { Env => "Installed version ($Env::VERSION) of Env is not in range '99999'", 'Pod::Text' => undef, 'This::Should::Be::NonExistent' => 'Module \'This::Should::Be::NonExistent\' is not installed', }, 'Recommendations give the right errors'); my $pre_con = $meta->effective_prereqs->requirements_for('runtime', 'conflicts'); -cmp_deeply([ sort +$pre_con->required_modules ], [ qw/CPAN::Meta Test::Deep Test::More/ ], 'The right conflicts are present'); -cmp_deeply(check_requirements($pre_con, 'conflicts'), { - 'CPAN::Meta' => re(qr/Installed version \([\d._]+\) of CPAN::Meta is in range '<= 100.0'/), +is_deeply([ sort +$pre_con->required_modules ], [ qw/CPAN::Meta Scalar::Util Test::More/ ], 'The right conflicts are present'); +is_deeply(check_requirements($pre_con, 'conflicts'), { + 'CPAN::Meta' => "Installed version ($CPAN::Meta::VERSION) of CPAN::Meta is in range '<= 100.0'", 'Test::More' => undef, - 'Test::Deep' => re(qr/Installed version \([\d._]+\) of Test::Deep is in range '== $Test::Deep::VERSION'/), + 'Scalar::Util' => sprintf("Installed version (%s) of Scalar::Util is in range '== %s'", $scalar_version, $scalar_version), }, 'Conflicts give the right errors'); done_testing(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/t/20-undef-version.t new/CPAN-Meta-Check-0.017/t/20-undef-version.t --- old/CPAN-Meta-Check-0.014/t/20-undef-version.t 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/t/20-undef-version.t 2023-01-03 16:53:16.000000000 +0100 @@ -2,7 +2,6 @@ use warnings; use Test::More 0.88; -use Test::Deep; use CPAN::Meta 2.120920; use CPAN::Meta::Check 'check_requirements'; @@ -33,8 +32,8 @@ requires => { 'Local::HasNoVersion' => undef }, }, test => { - conflicts => { 'Local::HasNoVersion' => re(qr/Installed version \(undef\) of Local::HasNoVersion is in range '<= 1.0'/) }, - requires => { 'Local::HasNoVersion' => re(qr/Installed version \(undef\) of Local::HasNoVersion is not in range '== 1.0'/) }, + conflicts => { 'Local::HasNoVersion' => q[Installed version (undef) of Local::HasNoVersion is in range '<= 1.0'] }, + requires => { 'Local::HasNoVersion' => q[Installed version (undef) of Local::HasNoVersion is not in range '== 1.0'] }, }, ); @@ -43,7 +42,7 @@ foreach my $phase (sort keys %expected_issues) { foreach my $type (sort keys %{$expected_issues{$phase}}) { my $issues = check_requirements($meta->effective_prereqs->requirements_for($phase, $type), $type, ['t/lib']); - cmp_deeply( + is_deeply( $issues, $expected_issues{$phase}{$type}, "$phase $type checked", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/xt/author/00-compile.t new/CPAN-Meta-Check-0.017/xt/author/00-compile.t --- old/CPAN-Meta-Check-0.014/xt/author/00-compile.t 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/xt/author/00-compile.t 2023-01-03 16:53:16.000000000 +0100 @@ -2,7 +2,7 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054 +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058 use Test::More; @@ -16,7 +16,9 @@ # no fake home requested -my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; +my @switches = ( + -d 'blib' ? '-Mblib' : '-Ilib', +); use File::Spec; use IPC::Open3; @@ -30,14 +32,18 @@ # 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]"); + diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'} . $str . q{'} } + $^X, @switches, '-e', "require q[$lib]")) + if $ENV{PERL_COMPILE_TEST_DEBUG}; + + my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-e', "require q[$lib]"); binmode $stderr, ':crlf' if $^O eq 'MSWin32'; my @_warnings = <$stderr>; waitpid($pid, 0); is($?, 0, "$lib loaded ok"); shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/ - and not eval { require blib; blib->VERSION('1.01') }; + and not eval { +require blib; blib->VERSION('1.01') }; if (@_warnings) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.014/xt/author/pod-coverage.t new/CPAN-Meta-Check-0.017/xt/author/pod-coverage.t --- old/CPAN-Meta-Check-0.014/xt/author/pod-coverage.t 2016-11-25 13:09:04.000000000 +0100 +++ new/CPAN-Meta-Check-0.017/xt/author/pod-coverage.t 2023-01-03 16:53:16.000000000 +0100 @@ -1,6 +1,7 @@ #!perl # This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. - +use strict; +use warnings; use Test::Pod::Coverage 1.08; use Pod::Coverage::TrustPod;