Hello community,
here is the log from the commit of package perl-Test-CPAN-Meta for
openSUSE:Factory checked in at 2015-04-15 16:22:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-CPAN-Meta (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-CPAN-Meta.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-CPAN-Meta"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-CPAN-Meta/perl-Test-CPAN-Meta.changes
2013-06-06 12:45:39.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-CPAN-Meta.new/perl-Test-CPAN-Meta.changes
2015-04-15 16:22:58.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Apr 13 18:33:51 UTC 2015 - [email protected]
+
+- updated to 0.24
+ see /usr/share/doc/packages/perl-Test-CPAN-Meta/Changes
+
+-------------------------------------------------------------------
Old:
----
Test-CPAN-Meta-0.23.tar.gz
New:
----
Test-CPAN-Meta-0.24.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-CPAN-Meta.spec ++++++
--- /var/tmp/diff_new_pack.zLrB12/_old 2015-04-15 16:22:58.000000000 +0200
+++ /var/tmp/diff_new_pack.zLrB12/_new 2015-04-15 16:22:58.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-CPAN-Meta
#
-# 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-Test-CPAN-Meta
-Version: 0.23
+Version: 0.24
Release: 0
%define cpan_name Test-CPAN-Meta
Summary: Validate your CPAN META.yml files.
@@ -31,9 +31,6 @@
BuildRequires: perl-macros
BuildRequires: perl(Parse::CPAN::Meta) >= 0.02
BuildRequires: perl(Test::More) >= 0.70
-#BuildRequires: perl(MyDistro)
-#BuildRequires: perl(Test::CPAN::Meta)
-#BuildRequires: perl(Test::CPAN::Meta::Version)
Requires: perl(Parse::CPAN::Meta) >= 0.02
Requires: perl(Test::More) >= 0.70
Recommends: perl(Test::Pod) >= 1.00
++++++ Test-CPAN-Meta-0.23.tar.gz -> Test-CPAN-Meta-0.24.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/Changes
new/Test-CPAN-Meta-0.24/Changes
--- old/Test-CPAN-Meta-0.23/Changes 2013-04-07 14:49:35.000000000 +0200
+++ new/Test-CPAN-Meta-0.24/Changes 2015-01-11 10:45:40.000000000 +0100
@@ -1,4 +1,10 @@
-# Changes log for Test-CPAN-Meta
+Revision history for Test-CPAN-Meta
+===================================
+
+0.24 2015-01-13
+ - extended META test suite.
+ - added META.json and tests.
+ - documentation updates
0.23 2013-04-07
- change file dates changed to meet W3CDTF standards.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/INSTALL
new/Test-CPAN-Meta-0.24/INSTALL
--- old/Test-CPAN-Meta-0.23/INSTALL 2013-04-07 14:49:35.000000000 +0200
+++ new/Test-CPAN-Meta-0.24/INSTALL 2014-09-29 08:47:24.000000000 +0200
@@ -6,22 +6,27 @@
INSTALLING AUTOMATICALLY
------------------------
-The easiest way to install is via CPAN or CPANPLUS:
+The easiest way to install is via CPAN, CPANPLUS or cpanminus:
CPAN:
% perl -MCPAN -e shell [as root]
- > install Test-CPAN-Meta
+ > install Test::CPAN::Meta
> quit
CPANPLUS:
% cpanp
- > i Test-CPAN-Meta
+ > i Test::CPAN::Meta
> q
-See your local 'perldoc CPAN' or 'perldoc CPANPLUS' for
-instructions on setting up and configuring CPAN or CPANPLUS.
+cpanminus:
+
+ % cpanm Test::CPAN::Meta
+
+See your local documentation ('perldoc CPAN', 'perldoc CPANPLUS' or
+'perldoc cpanm') for further instructions on setting up and configuring your
+chosen installer.
OBTAINING THE MODULE
@@ -95,7 +100,7 @@
# make install
-Congratulations. You've just installed Data::Phrasebook.
+Congratulations. You've just installed Test::CPAN::Meta.
If you have a copy of cpantest installed, type:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/LICENSE
new/Test-CPAN-Meta-0.24/LICENSE
--- old/Test-CPAN-Meta-0.23/LICENSE 2013-04-07 14:49:35.000000000 +0200
+++ new/Test-CPAN-Meta-0.24/LICENSE 2015-01-11 10:26:15.000000000 +0100
@@ -1,6 +1,6 @@
LICENSE FOR Test-CPAN-Meta
-This software is copyright � 2007-2013 Barbie for Miss Barbell Productions.
+This software is copyright � 2007-2015 Barbie for Miss Barbell Productions.
This distribution is free software; you can redistribute it and/or
-modify it under the Artistic Licence v2.
+modify it under the Artistic Licence v2.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/MANIFEST
new/Test-CPAN-Meta-0.24/MANIFEST
--- old/Test-CPAN-Meta-0.23/MANIFEST 2013-04-07 14:49:35.000000000 +0200
+++ new/Test-CPAN-Meta-0.24/MANIFEST 2014-09-29 09:19:56.000000000 +0200
@@ -8,6 +8,7 @@
lib/Test/CPAN/Meta/Version.pm
Makefile.PL
MANIFEST
+META.json
META.yml
README
t/01use.t
@@ -19,6 +20,7 @@
t/91podcover.t
t/94metatest.t
t/95changedate.t
+t/96metatest.t
t/98metatest.t
t/samples/00-META.yml
t/samples/01-META.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/META.json
new/Test-CPAN-Meta-0.24/META.json
--- old/Test-CPAN-Meta-0.23/META.json 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-CPAN-Meta-0.24/META.json 2015-01-11 10:46:42.000000000 +0100
@@ -0,0 +1,71 @@
+{
+ "name": "Test-CPAN-Meta",
+ "version": "0.24",
+ "abstract": "Validate your CPAN META.json files",
+ "author": ["Barbie <[email protected]>"],
+
+ "license": [ "artistic_2" ],
+ "dynamic_config" : 0,
+ "release_status" : "stable",
+ "meta-spec": {
+ "version": "2",
+ "url": "http://search.cpan.org/dist/CPAN-Meta/lib/CPAN/Meta/Spec.pm"
+ },
+ "generated_by": "The Hand of Barbie 1.0",
+ "keywords" : [
+ "qa",
+ "cpan",
+ "testing",
+ "meta",
+ "yaml"
+ ],
+
+ "prereqs" : {
+ "runtime" : {
+ "requires" : {
+ "perl": "5.006",
+ "IO::File": "0",
+ "Parse::CPAN::Meta": "0.02",
+ "Test::More": "0.62",
+ "Test::Builder": "0"
+ }
+ },
+ "test" : {
+ "requires": {
+ "Test::More": "0.62",
+ "Test::Builder": "0"
+ },
+ "recommends": {
+ "Test::CPAN::Meta": "0.13",
+ "Test::CPAN::Meta::JSON": "0",
+ "Test::More": "0.70",
+ "Test::Pod": "1.00",
+ "Test::Pod::Coverage": "0.08"
+ }
+ }
+ },
+
+ "provides": {
+ "Test::CPAN::Meta": {
+ "file": "lib/Test/CPAN/Meta.pm",
+ "version": "0.24"
+ },
+ "Test::CPAN::Meta::Version": {
+ "file": "lib/Test/CPAN/Meta/Version.pm",
+ "version": "0.24"
+ }
+ },
+ "no_index": {
+ "directory": ["t","examples"]
+ },
+
+ "resources": {
+ "license": [ "http://www.perlfoundation.org/artistic_license_2_0" ],
+ "bugtracker": { "web":
"http://rt.cpan.org/Public/Dist/Display.html?Name=Test-CPAN-Meta" },
+ "repository": {
+ "url": "git://github.com/barbie/Test-CPAN-Meta.git",
+ "web": "http://github.com/barbie/Test-CPAN-Meta",
+ "type": "git"
+ }
+ }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/META.yml
new/Test-CPAN-Meta-0.24/META.yml
--- old/Test-CPAN-Meta-0.23/META.yml 2013-04-07 14:49:35.000000000 +0200
+++ new/Test-CPAN-Meta-0.24/META.yml 2015-01-11 10:46:42.000000000 +0100
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Test-CPAN-Meta
-version: 0.23
+version: 0.24
abstract: Validate your CPAN META.yml files
author:
- Barbie <[email protected]>
@@ -24,10 +24,10 @@
provides:
Test::CPAN::Meta:
file: lib/Test/CPAN/Meta.pm
- version: 0.23
+ version: 0.24
Test::CPAN::Meta::Version:
file: lib/Test/CPAN/Meta/Version.pm
- version: 0.23
+ version: 0.24
no_index:
directory:
- t
@@ -41,4 +41,4 @@
meta-spec:
version: 1.4
url: http://module-build.sourceforge.net/META-spec-v1.4.html
-generated_by: Hand 1.0
+generated_by: The Hand of Barbie 1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/README
new/Test-CPAN-Meta-0.24/README
--- old/Test-CPAN-Meta-0.23/README 2013-04-07 14:49:35.000000000 +0200
+++ new/Test-CPAN-Meta-0.24/README 2015-01-11 10:26:15.000000000 +0100
@@ -73,7 +73,7 @@
COPYRIGHT AND LICENSE
- Copyright (C) 2007-2013 Barbie for Miss Barbell Productions
+ Copyright (C) 2007-2015 Barbie for Miss Barbell Productions
This distribution is free software; you can redistribute it and/or
modify it under the Artistic Licence v2.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/examples/94metatest.t
new/Test-CPAN-Meta-0.24/examples/94metatest.t
--- old/Test-CPAN-Meta-0.23/examples/94metatest.t 2013-04-07
14:49:35.000000000 +0200
+++ new/Test-CPAN-Meta-0.24/examples/94metatest.t 2014-09-29
09:02:11.000000000 +0200
@@ -23,6 +23,14 @@
if($meta->{provides}) {
for my $mod (keys %{$meta->{provides}}) {
is($meta->{provides}{$mod}{version},$version,
- "META.yml entry [$mod] version matches");
+ "META.yml entry [$mod] version matches distribution version");
+
+ eval "require $mod";
+ my $VERSION = '$' . $mod . '::VERSION';
+ my $v = eval "$VERSION";
+ is($meta->{provides}{$mod}{version},$v,
+ "META.json entry [$mod] version matches module version");
+
+ isnt($meta->{provides}{$mod}{version},0);
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/lib/Test/CPAN/Meta/Version.pm
new/Test-CPAN-Meta-0.24/lib/Test/CPAN/Meta/Version.pm
--- old/Test-CPAN-Meta-0.23/lib/Test/CPAN/Meta/Version.pm 2013-04-07
14:49:35.000000000 +0200
+++ new/Test-CPAN-Meta-0.24/lib/Test/CPAN/Meta/Version.pm 2015-01-11
10:46:42.000000000 +0100
@@ -4,7 +4,7 @@
use strict;
use vars qw($VERSION);
-$VERSION = '0.23';
+$VERSION = '0.24';
#----------------------------------------------------------------------------
@@ -784,7 +784,7 @@
=head1 COPYRIGHT AND LICENSE
- Copyright (C) 2007-2013 Barbie for Miss Barbell Productions
+ Copyright (C) 2007-2015 Barbie for Miss Barbell Productions
This distribution is free software; you can redistribute it and/or
modify it under the Artistic Licence v2.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/lib/Test/CPAN/Meta.pm
new/Test-CPAN-Meta-0.24/lib/Test/CPAN/Meta.pm
--- old/Test-CPAN-Meta-0.23/lib/Test/CPAN/Meta.pm 2013-04-07
14:49:35.000000000 +0200
+++ new/Test-CPAN-Meta-0.24/lib/Test/CPAN/Meta.pm 2015-01-11
10:46:42.000000000 +0100
@@ -4,7 +4,7 @@
use strict;
use vars qw($VERSION);
-$VERSION = '0.23';
+$VERSION = '0.24';
#----------------------------------------------------------------------------
@@ -203,7 +203,7 @@
=head1 COPYRIGHT AND LICENSE
- Copyright (C) 2007-2013 Barbie for Miss Barbell Productions
+ Copyright (C) 2007-2015 Barbie for Miss Barbell Productions
This distribution is free software; you can redistribute it and/or
modify it under the Artistic Licence v2.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/t/94metatest.t
new/Test-CPAN-Meta-0.24/t/94metatest.t
--- old/Test-CPAN-Meta-0.23/t/94metatest.t 2013-04-07 14:49:35.000000000
+0200
+++ new/Test-CPAN-Meta-0.24/t/94metatest.t 2015-01-11 10:26:15.000000000
+0100
@@ -23,6 +23,14 @@
if($meta->{provides}) {
for my $mod (keys %{$meta->{provides}}) {
is($meta->{provides}{$mod}{version},$version,
- "META.yml entry [$mod] version matches");
+ "META.yml entry [$mod] version matches distribution version");
+
+ eval "require $mod";
+ my $VERSION = '$' . $mod . '::VERSION';
+ my $v = eval "$VERSION";
+ is($meta->{provides}{$mod}{version},$v,
+ "META.yml entry [$mod] version matches module version");
+
+ isnt($meta->{provides}{$mod}{version},0);
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-CPAN-Meta-0.23/t/96metatest.t
new/Test-CPAN-Meta-0.24/t/96metatest.t
--- old/Test-CPAN-Meta-0.23/t/96metatest.t 1970-01-01 01:00:00.000000000
+0100
+++ new/Test-CPAN-Meta-0.24/t/96metatest.t 2014-09-29 09:18:03.000000000
+0200
@@ -0,0 +1,36 @@
+#!/usr/bin/perl -w
+use strict;
+
+use Test::More;
+
+# Skip if doing a regular install
+plan skip_all => "Author tests not required for installation"
+ unless ( $ENV{AUTOMATED_TESTING} );
+
+eval "use Test::CPAN::Meta::JSON";
+plan skip_all => "Test::CPAN::Meta::JSON required for testing META.json files"
if $@;
+
+plan 'no_plan';
+
+my $meta = meta_spec_ok(undef,undef,@_);
+
+use Test::CPAN::Meta;
+my $version = $Test::CPAN::Meta::VERSION;
+
+is($meta->{version},$version,
+ 'META.json distribution version matches');
+
+if($meta->{provides}) {
+ for my $mod (keys %{$meta->{provides}}) {
+ is($meta->{provides}{$mod}{version},$version,
+ "META.json entry [$mod] version matches distribution version");
+
+ eval "require $mod";
+ my $VERSION = '$' . $mod . '::VERSION';
+ my $v = eval "$VERSION";
+ is($meta->{provides}{$mod}{version},$v,
+ "META.json entry [$mod] version matches module version");
+
+ isnt($meta->{provides}{$mod}{version},0);
+ }
+}