Hello community,
here is the log from the commit of package perl-CPAN-Meta-Check for openSUSE:Factory checked in at 2015-02-11 16:44:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-CPAN-Meta-Check (Old)
and /work/SRC/openSUSE:Factory/.perl-CPAN-Meta-Check.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-CPAN-Meta-Check"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.changes 2013-12-06 14:42:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-CPAN-Meta-Check.new/perl-CPAN-Meta-Check.changes 2015-02-11 16:44:11.000000000 +0100
@@ -1,0 +2,8 @@
+Sat Feb 7 07:21:43 UTC 2015 - coolo@suse.com
+
+- updated to 0.010
+ bump Module::Metdata prereq for $VERSION parsing (RT#101095)
+ Consistently require same version of CPAN::Meta::Requirements
+ Various POD fixes
+
+-------------------------------------------------------------------
Old:
----
CPAN-Meta-Check-0.008.tar.gz
New:
----
CPAN-Meta-Check-0.010.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-CPAN-Meta-Check.spec ++++++
--- /var/tmp/diff_new_pack.zYLJMF/_old 2015-02-11 16:44:12.000000000 +0100
+++ /var/tmp/diff_new_pack.zYLJMF/_new 2015-02-11 16:44:12.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-CPAN-Meta-Check
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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,7 +17,7 @@
Name: perl-CPAN-Meta-Check
-Version: 0.008
+Version: 0.010
Release: 0
%define cpan_name CPAN-Meta-Check
Summary: Verify requirements in a CPAN::Meta object
@@ -32,13 +32,12 @@
BuildRequires: perl(CPAN::Meta) >= 2.120920
BuildRequires: perl(CPAN::Meta::Prereqs) >= 2.132830
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
-BuildRequires: perl(Module::Metadata)
+BuildRequires: perl(Module::Metadata) >= 1.000023
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.88
-#BuildRequires: perl(CPAN::Meta::Check)
Requires: perl(CPAN::Meta::Prereqs) >= 2.132830
Requires: perl(CPAN::Meta::Requirements) >= 2.121
-Requires: perl(Module::Metadata)
+Requires: perl(Module::Metadata) >= 1.000023
%{perl_requires}
%description
++++++ CPAN-Meta-Check-0.008.tar.gz -> CPAN-Meta-Check-0.010.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.008/Changes new/CPAN-Meta-Check-0.010/Changes
--- old/CPAN-Meta-Check-0.008/Changes 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/Changes 2015-01-30 19:11:02.000000000 +0100
@@ -1,5 +1,12 @@
Revision history for CPAN-Meta-Check
+0.010 2015-01-30 19:10:49+01:00 Europe/Amsterdam
+ bump Module::Metdata prereq for $VERSION parsing (RT#101095)
+ Consistently require same version of CPAN::Meta::Requirements
+
+0.009 2014-06-20 19:37:43+02:00 Europe/Amsterdam
+ Various POD fixes
+
0.008 2013-10-17 16:44:57 Europe/Amsterdam
Switch to using merged_requirements
Test Env instead of Carp for version overshoot [#89591]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.008/LICENSE new/CPAN-Meta-Check-0.010/LICENSE
--- old/CPAN-Meta-Check-0.008/LICENSE 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/LICENSE 2015-01-30 19:11:02.000000000 +0100
@@ -22,7 +22,7 @@
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.008/MANIFEST new/CPAN-Meta-Check-0.010/MANIFEST
--- old/CPAN-Meta-Check-0.008/MANIFEST 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/MANIFEST 2015-01-30 19:11:02.000000000 +0100
@@ -1,3 +1,4 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.025.
Changes
INSTALL
LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.008/META.json new/CPAN-Meta-Check-0.010/META.json
--- old/CPAN-Meta-Check-0.008/META.json 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/META.json 2015-01-30 19:11:02.000000000 +0100
@@ -4,7 +4,7 @@
"Leon Timmermans "
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132830",
+ "generated_by" : "Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.143240",
"license" : [
"perl_5"
],
@@ -16,7 +16,7 @@
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.30"
+ "ExtUtils::MakeMaker" : "0"
}
},
"develop" : {
@@ -31,7 +31,7 @@
"CPAN::Meta::Prereqs" : "2.132830",
"CPAN::Meta::Requirements" : "2.121",
"Exporter" : "5.57",
- "Module::Metadata" : "0",
+ "Module::Metadata" : "1.000023",
"perl" : "5.006",
"strict" : "0",
"warnings" : "0"
@@ -45,14 +45,15 @@
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Test::Deep" : "0",
- "Test::More" : "0.88"
+ "Test::More" : "0.88",
+ "perl" : "5.006"
}
}
},
"provides" : {
"CPAN::Meta::Check" : {
"file" : "lib/CPAN/Meta/Check.pm",
- "version" : "0.008"
+ "version" : "0.010"
}
},
"release_status" : "stable",
@@ -67,6 +68,6 @@
"web" : "https://github.com/Leont/cpan-meta-check"
}
},
- "version" : "0.008"
+ "version" : "0.010"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.008/META.yml new/CPAN-Meta-Check-0.010/META.yml
--- old/CPAN-Meta-Check-0.008/META.yml 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/META.yml 2015-01-30 19:11:02.000000000 +0100
@@ -3,35 +3,36 @@
author:
- 'Leon Timmermans '
build_requires:
- CPAN::Meta: 2.120920
- Env: 0
- File::Spec: 0
- IO::Handle: 0
- IPC::Open3: 0
- Test::Deep: 0
- Test::More: 0.88
+ CPAN::Meta: '2.120920'
+ Env: '0'
+ File::Spec: '0'
+ IO::Handle: '0'
+ IPC::Open3: '0'
+ Test::Deep: '0'
+ Test::More: '0.88'
+ perl: '5.006'
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300039, CPAN::Meta::Converter version 2.132830'
+generated_by: 'Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.143240'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: CPAN-Meta-Check
provides:
CPAN::Meta::Check:
file: lib/CPAN/Meta/Check.pm
- version: 0.008
+ version: '0.010'
requires:
- CPAN::Meta::Prereqs: 2.132830
- CPAN::Meta::Requirements: 2.121
- Exporter: 5.57
- Module::Metadata: 0
- perl: 5.006
- strict: 0
- warnings: 0
+ CPAN::Meta::Prereqs: '2.132830'
+ CPAN::Meta::Requirements: '2.121'
+ Exporter: '5.57'
+ Module::Metadata: '1.000023'
+ perl: '5.006'
+ strict: '0'
+ warnings: '0'
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.008
+version: '0.010'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.008/Makefile.PL new/CPAN-Meta-Check-0.010/Makefile.PL
--- old/CPAN-Meta-Check-0.008/Makefile.PL 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/Makefile.PL 2015-01-30 19:11:02.000000000 +0100
@@ -1,29 +1,30 @@
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.025.
use strict;
use warnings;
use 5.006;
-use ExtUtils::MakeMaker 6.30;
+use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "Verify requirements in a CPAN::Meta object",
"AUTHOR" => "Leon Timmermans ",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30"
+ "ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "CPAN-Meta-Check",
"EXE_FILES" => [],
"LICENSE" => "perl",
+ "MIN_PERL_VERSION" => "5.006",
"NAME" => "CPAN::Meta::Check",
"PREREQ_PM" => {
"CPAN::Meta::Prereqs" => "2.132830",
"CPAN::Meta::Requirements" => "2.121",
"Exporter" => "5.57",
- "Module::Metadata" => 0,
+ "Module::Metadata" => "1.000023",
"strict" => 0,
"warnings" => 0
},
@@ -36,37 +37,35 @@
"Test::Deep" => 0,
"Test::More" => "0.88"
},
- "VERSION" => "0.008",
+ "VERSION" => "0.010",
"test" => {
"TESTS" => "t/*.t"
}
);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
- my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
- my $br = $WriteMakefileArgs{BUILD_REQUIRES};
- for my $mod ( keys %$tr ) {
- if ( exists $br->{$mod} ) {
- $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
- }
- else {
- $br->{$mod} = $tr->{$mod};
- }
- }
-}
+my %FallbackPrereqs = (
+ "CPAN::Meta" => "2.120920",
+ "CPAN::Meta::Prereqs" => "2.132830",
+ "CPAN::Meta::Requirements" => "2.121",
+ "Env" => 0,
+ "Exporter" => "5.57",
+ "ExtUtils::MakeMaker" => 0,
+ "File::Spec" => 0,
+ "IO::Handle" => 0,
+ "IPC::Open3" => 0,
+ "Module::Metadata" => "1.000023",
+ "Test::Deep" => 0,
+ "Test::More" => "0.88",
+ "strict" => 0,
+ "warnings" => 0
+);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ delete $WriteMakefileArgs{TEST_REQUIRES};
+ delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.008/README new/CPAN-Meta-Check-0.010/README
--- old/CPAN-Meta-Check-0.008/README 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/README 2015-01-30 19:11:02.000000000 +0100
@@ -1,7 +1,7 @@
This archive contains the distribution CPAN-Meta-Check,
-version 0.008:
+version 0.010:
Verify requirements in a CPAN::Meta object
@@ -11,3 +11,5 @@
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/CPAN-Meta-Check-0.008/dist.ini new/CPAN-Meta-Check-0.010/dist.ini
--- old/CPAN-Meta-Check-0.008/dist.ini 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/dist.ini 2015-01-30 19:11:02.000000000 +0100
@@ -7,5 +7,4 @@
[@LEONT]
install_tool = eumm
[Prereqs]
-CPAN::Meta::Requirements = 2.121
CPAN::Meta::Prereqs = 2.132830
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CPAN-Meta-Check-0.008/lib/CPAN/Meta/Check.pm new/CPAN-Meta-Check-0.010/lib/CPAN/Meta/Check.pm
--- old/CPAN-Meta-Check-0.008/lib/CPAN/Meta/Check.pm 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/lib/CPAN/Meta/Check.pm 2015-01-30 19:11:02.000000000 +0100
@@ -1,7 +1,5 @@
package CPAN::Meta::Check;
-{
- $CPAN::Meta::Check::VERSION = '0.008';
-}
+$CPAN::Meta::Check::VERSION = '0.010';
use strict;
use warnings;
@@ -10,17 +8,17 @@
our @EXPORT_OK = qw/check_requirements requirements_for verify_dependencies/;
our %EXPORT_TAGS = (all => [ @EXPORT, @EXPORT_OK ] );
-use CPAN::Meta::Requirements 2.120920;
-use Module::Metadata;
+use CPAN::Meta::Requirements 2.121;
+use Module::Metadata 1.000023;
sub _check_dep {
my ($reqs, $module, $dirs) = @_;
- my $version = $module eq 'perl' ? $] : do {
- my $metadata = Module::Metadata->new_from_module($module, inc => $dirs);
- return "Module '$module' is not installed" if not defined $metadata;
- eval { $metadata->version };
- };
+ $module eq 'perl' and return ($reqs->accepts_module($module, $]) ? () : sprintf "Your Perl (%s) is not in the range '%s'", $], $reqs->requirements_for_module($module));
+
+ my $metadata = Module::Metadata->new_from_module($module, inc => $dirs);
+ return "Module '$module' is not installed" if not defined $metadata;
+ my $version = eval { $metadata->version };
return "Missing version info for module '$module'" if $reqs->requirements_for_module($module) and not $version;
return sprintf 'Installed version (%s) of %s is not in range \'%s\'', $version, $module, $reqs->requirements_for_module($module) if not $reqs->accepts_module($module, $version || 0);
return;
@@ -45,18 +43,13 @@
sub check_requirements {
my ($reqs, $type, $dirs) = @_;
- my %ret;
- if ($type ne 'conflicts') {
- for my $module ($reqs->required_modules) {
- $ret{$module} = _check_dep($reqs, $module, $dirs);
- }
- }
- else {
- for my $module ($reqs->required_modules) {
- $ret{$module} = _check_conflict($reqs, $module, $dirs);
- }
- }
- return \%ret;
+ return +{
+ map {
+ $_ => $type ne 'conflicts'
+ ? scalar _check_dep($reqs, $_, $dirs)
+ : scalar _check_conflict($reqs, $_, $dirs)
+ } $reqs->required_modules
+ };
}
sub verify_dependencies {
@@ -66,7 +59,6 @@
return grep { defined } values %{ $issues };
}
-# vi:noet:sts=2:sw=2:ts=2
1;
#ABSTRACT: Verify requirements in a CPAN::Meta object
@@ -75,17 +67,19 @@
=pod
+=encoding UTF-8
+
=head1 NAME
CPAN::Meta::Check - Verify requirements in a CPAN::Meta object
=head1 VERSION
-version 0.008
+version 0.010
=head1 SYNOPSIS
- warn "$_\n" for verify_requirements($meta, [qw/runtime build test/], 'requires');
+ warn "$_\n" for verify_dependencies($meta, [qw/runtime build test/], 'requires');
=head1 DESCRIPTION
@@ -99,7 +93,7 @@
=head2 verify_dependencies($meta, $phases, $types, $incdirs)
-Check all requirements in C<$meta> for phases C<$phases> and types C<$types>. Modules are searched for in C<@$incdirs>, defaulting to C<@INC>. C<$meta> should be a LCPAN::Meta::Prereqs or LCPAN::Meta object.
+Check all requirements in C<$meta> for phases C<$phases> and type C<$type>. Modules are searched for in C<@$incdirs>, defaulting to C<@INC>. C<$meta> should be a LCPAN::Meta::Prereqs or LCPAN::Meta object.
=head2 requirements_for($meta, $phases, $types)
@@ -115,6 +109,8 @@
=item * LCPAN::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.008/t/00-compile.t new/CPAN-Meta-Check-0.010/t/00-compile.t
--- old/CPAN-Meta-Check-0.008/t/00-compile.t 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/t/00-compile.t 2015-01-30 19:11:02.000000000 +0100
@@ -1,11 +1,12 @@
+use 5.006;
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.036
-
-use Test::More tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+# 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 = (
'CPAN/Meta/Check.pm'
@@ -15,17 +16,18 @@
# no fake home requested
-my $inc_switch = q[-Mblib];
+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
- open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
my $stderr = IO::Handle->new;
my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]");
@@ -43,6 +45,7 @@
-is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+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/CPAN-Meta-Check-0.008/t/release-pod-coverage.t new/CPAN-Meta-Check-0.010/t/release-pod-coverage.t
--- old/CPAN-Meta-Check-0.008/t/release-pod-coverage.t 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/t/release-pod-coverage.t 2015-01-30 19:11:02.000000000 +0100
@@ -7,15 +7,9 @@
}
}
+# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests.
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.08";
-plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
- if $@;
-
-eval "use Pod::Coverage::TrustPod";
-plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
- if $@;
+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/CPAN-Meta-Check-0.008/t/release-pod-syntax.t new/CPAN-Meta-Check-0.010/t/release-pod-syntax.t
--- old/CPAN-Meta-Check-0.008/t/release-pod-syntax.t 2013-10-17 16:45:21.000000000 +0200
+++ new/CPAN-Meta-Check-0.010/t/release-pod-syntax.t 2015-01-30 19:11:02.000000000 +0100
@@ -7,9 +7,8 @@
}
}
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org