Hello community, here is the log from the commit of package perl-Modern-Perl for openSUSE:Factory checked in at 2020-02-04 19:52:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Modern-Perl (Old) and /work/SRC/openSUSE:Factory/.perl-Modern-Perl.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Modern-Perl" Tue Feb 4 19:52:39 2020 rev:23 rq:769542 version:1.20200201 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Modern-Perl/perl-Modern-Perl.changes 2019-07-29 17:31:51.766138060 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Modern-Perl.new.26092/perl-Modern-Perl.changes 2020-02-04 19:53:05.497312443 +0100 @@ -1,0 +2,10 @@ +Sun Feb 2 03:12:15 UTC 2020 - <timueller+p...@suse.de> + +- updated to 1.20200201 + see /usr/share/doc/packages/perl-Modern-Perl/Changes + + 1.20200201 2020-01-31 18:41:36-08:00 America/Los_Angeles + - fix tests for Perl 5.32 (Tony Cook, RT #131608) + - update for 2020 + +------------------------------------------------------------------- Old: ---- Modern-Perl-1.20190727.tar.gz New: ---- Modern-Perl-1.20200201.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Modern-Perl.spec ++++++ --- /var/tmp/diff_new_pack.rsljwj/_old 2020-02-04 19:53:05.985312728 +0100 +++ /var/tmp/diff_new_pack.rsljwj/_new 2020-02-04 19:53:05.989312730 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Modern-Perl # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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-Modern-Perl -Version: 1.20190727 +Version: 1.20200201 Release: 0 %define cpan_name Modern-Perl Summary: Enable all of the features of Modern Perl with one import ++++++ Modern-Perl-1.20190727.tar.gz -> Modern-Perl-1.20200201.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20190727/Changes new/Modern-Perl-1.20200201/Changes --- old/Modern-Perl-1.20190727/Changes 2019-07-27 21:15:28.000000000 +0200 +++ new/Modern-Perl-1.20200201/Changes 2020-02-01 03:41:37.000000000 +0100 @@ -1,5 +1,9 @@ Revision history for Modern::Perl +1.20200201 2020-01-31 18:41:36-08:00 America/Los_Angeles + - fix tests for Perl 5.32 (Tony Cook, RT #131608) + - update for 2020 + 1.20190727 2019-07-27 12:15:27-07:00 America/Los_Angeles - remove explicit autodie dependency (GH #11, gordon-fish, mst, #perl) - add description of odern::Perl module (Utkarsh Gupta, Debian, GH issue #12) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20190727/META.json new/Modern-Perl-1.20200201/META.json --- old/Modern-Perl-1.20190727/META.json 2019-07-27 21:15:28.000000000 +0200 +++ new/Modern-Perl-1.20200201/META.json 2020-02-01 03:41:37.000000000 +0100 @@ -45,7 +45,7 @@ "web" : "https://github.com/chromatic/Modern-Perl" } }, - "version" : "1.20190727", + "version" : "1.20200201", "x_generated_by_perl" : "v5.30.0", "x_serialization_backend" : "Cpanel::JSON::XS version 4.11" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20190727/META.yml new/Modern-Perl-1.20200201/META.yml --- old/Modern-Perl-1.20190727/META.yml 2019-07-27 21:15:28.000000000 +0200 +++ new/Modern-Perl-1.20200201/META.yml 2020-02-01 03:41:37.000000000 +0100 @@ -24,6 +24,6 @@ resources: homepage: https://github.com/chromatic/Modern-Perl repository: https://github.com/chromatic/Modern-Perl.git -version: '1.20190727' +version: '1.20200201' x_generated_by_perl: v5.30.0 x_serialization_backend: 'YAML::Tiny version 1.73' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20190727/Makefile.PL new/Modern-Perl-1.20200201/Makefile.PL --- old/Modern-Perl-1.20190727/Makefile.PL 2019-07-27 21:15:28.000000000 +0200 +++ new/Modern-Perl-1.20200201/Makefile.PL 2020-02-01 03:41:37.000000000 +0100 @@ -27,7 +27,7 @@ "TEST_REQUIRES" => { "Test::More" => "0.98" }, - "VERSION" => "1.20190727", + "VERSION" => "1.20200201", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20190727/lib/Modern/Perl.pm new/Modern-Perl-1.20200201/lib/Modern/Perl.pm --- old/Modern-Perl-1.20190727/lib/Modern/Perl.pm 2019-07-27 21:15:28.000000000 +0200 +++ new/Modern-Perl-1.20200201/lib/Modern/Perl.pm 2020-02-01 03:41:37.000000000 +0100 @@ -1,6 +1,6 @@ package Modern::Perl; # ABSTRACT: enable all of the features of Modern Perl with one import -$Modern::Perl::VERSION = '1.20190727'; +$Modern::Perl::VERSION = '1.20200201'; use 5.010_000; use strict; @@ -18,11 +18,11 @@ sub VERSION { my ($self, $version) = @_; - return $Modern::Perl::VERSION || 2019 unless defined $version; - return $Modern::Perl::VERSION || 2019 if $version < 2009; + return $Modern::Perl::VERSION || 2020 unless defined $version; + return $Modern::Perl::VERSION || 2020 if $version < 2009; $wanted_date = $version if (caller(1))[3] =~ /::BEGIN/; - return 2019; + return 2020; } sub import { @@ -57,6 +57,7 @@ 2017 => ':5.24', 2018 => ':5.26', 2019 => ':5.28', + 2020 => ':5.30', ); my $date = shift; @@ -88,7 +89,7 @@ =head1 VERSION -version 1.20190727 +version 1.20200201 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20190727/lib/odern/Perl.pm new/Modern-Perl-1.20200201/lib/odern/Perl.pm --- old/Modern-Perl-1.20190727/lib/odern/Perl.pm 2019-07-27 21:15:28.000000000 +0200 +++ new/Modern-Perl-1.20200201/lib/odern/Perl.pm 2020-02-01 03:41:37.000000000 +0100 @@ -1,6 +1,6 @@ package odern::Perl; #ABSTRACT: Module for enabling all of the features of Modern Perl -$odern::Perl::VERSION = '1.20190727'; +$odern::Perl::VERSION = '1.20200201'; use Modern::Perl; *import = \&Modern::Perl::import; @@ -19,7 +19,7 @@ =head1 VERSION -version 1.20190727 +version 1.20200201 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20190727/t/base.t new/Modern-Perl-1.20200201/t/base.t --- old/Modern-Perl-1.20190727/t/base.t 2019-07-27 21:15:28.000000000 +0200 +++ new/Modern-Perl-1.20200201/t/base.t 2020-02-01 03:41:37.000000000 +0100 @@ -4,12 +4,12 @@ BEGIN { - local $INC{'IO/File.pm'}; - local $INC{'IO/Handle.pm'}; + delete $INC{'IO/File.pm'}; + delete $INC{'IO/Handle.pm'}; use_ok( 'Modern::Perl' ) or exit; - ok exists $INC{'IO/File.pm'}, 'M::P should load IO::File'; - ok exists $INC{'IO/Handle.pm'}, 'M::P should load IO::Handle'; + ok $INC{'IO/File.pm'}, 'M::P should load IO::File'; + ok $INC{'IO/Handle.pm'}, 'M::P should load IO::Handle'; Modern::Perl->import(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20190727/t/regressions.t new/Modern-Perl-1.20200201/t/regressions.t --- old/Modern-Perl-1.20190727/t/regressions.t 2019-07-27 21:15:28.000000000 +0200 +++ new/Modern-Perl-1.20200201/t/regressions.t 2020-02-01 03:41:37.000000000 +0100 @@ -92,7 +92,7 @@ $Modern::Perl::VERSION ||= '1.20121103'; my $version = Modern::Perl->VERSION; - like $version, qr/1\.201\d/, + like $version, qr/1\.20\d/, 'VERSION() should return version number, given no argument'; is $warning, '', '... without warning about undef argument'; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20190727/t/year_imports.t new/Modern-Perl-1.20200201/t/year_imports.t --- old/Modern-Perl-1.20190727/t/year_imports.t 2019-07-27 21:15:28.000000000 +0200 +++ new/Modern-Perl-1.20200201/t/year_imports.t 2020-02-01 03:41:37.000000000 +0100 @@ -262,6 +262,21 @@ test_unicode_strings_for( $year ); } +if ($] >= 5.030) +{ + my $year = 2020; + + test_switch_for( $year ); + test_say_for( $year ); + test_state_for( $year ); + test_cur_sub_for( $year ); + test_array_base_for( $year ); + test_lexical_subs_for( $year ); + test_fc_for( $year ); + test_postderef_for( $year ); + test_unicode_strings_for( $year ); +} + eval 'sub { given (0) {} }'; isnt $@, "", 'switch feature does not leak out'; eval 'sub { say 0 }';