Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Modern-Perl for 
openSUSE:Factory checked in at 2022-05-20 17:51:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Modern-Perl (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Modern-Perl.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Modern-Perl"

Fri May 20 17:51:01 2022 rev:25 rq:978228 version:1.20220515

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Modern-Perl/perl-Modern-Perl.changes        
2020-02-13 10:11:56.208354631 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Modern-Perl.new.1538/perl-Modern-Perl.changes  
    2022-05-20 17:52:00.703296228 +0200
@@ -1,0 +2,10 @@
+Mon May 16 03:07:05 UTC 2022 - Tina M??ller <[email protected]>
+
+- updated to 1.20220515
+   see /usr/share/doc/packages/perl-Modern-Perl/Changes
+
+  1.20220515 2022-05-15 11:15:25-07:00 America/Los_Angeles
+      - enable signatures in 2022 year bundle
+      - add 2021 and 2022 year bundles
+
+-------------------------------------------------------------------

Old:
----
  Modern-Perl-1.20200211.tar.gz

New:
----
  Modern-Perl-1.20220515.tar.gz

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

Other differences:
------------------
++++++ perl-Modern-Perl.spec ++++++
--- /var/tmp/diff_new_pack.02WmfX/_old  2022-05-20 17:52:01.171296653 +0200
+++ /var/tmp/diff_new_pack.02WmfX/_new  2022-05-20 17:52:01.179296660 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Modern-Perl
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,16 @@
 #
 
 
+%define cpan_name Modern-Perl
 Name:           perl-Modern-Perl
-Version:        1.20200211
+Version:        1.20220515
 Release:        0
-%define cpan_name Modern-Perl
-Summary:        Enable all of the features of Modern Perl with one import
 License:        Artistic-1.0 OR GPL-1.0-or-later
-Group:          Development/Libraries/Perl
-Url:            https://metacpan.org/release/%{cpan_name}
+Summary:        Enable all of the features of Modern Perl with one import
+URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/C/CH/CHROMATIC/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Test::More) >= 0.98
@@ -41,11 +39,11 @@
 enable all of the features of Modern Perl with one import
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{version}
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%make_build
 
 %check
 make test
@@ -56,7 +54,6 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes README
 %license LICENSE
 

++++++ Modern-Perl-1.20200211.tar.gz -> Modern-Perl-1.20220515.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Modern-Perl-1.20200211/Changes 
new/Modern-Perl-1.20220515/Changes
--- old/Modern-Perl-1.20200211/Changes  2020-02-11 04:33:57.000000000 +0100
+++ new/Modern-Perl-1.20220515/Changes  2022-05-15 20:15:27.000000000 +0200
@@ -1,5 +1,9 @@
 Revision history for Modern::Perl
 
+1.20220515 2022-05-15 11:15:25-07:00 America/Los_Angeles
+    - enable signatures in 2022 year bundle
+    - add 2021 and 2022 year bundles
+
 1.20200211 2020-02-10 19:33:55-08:00 America/Los_Angeles
     - bash doesn't like !' in double quotes, so it stuck up for awk
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Modern-Perl-1.20200211/MANIFEST 
new/Modern-Perl-1.20220515/MANIFEST
--- old/Modern-Perl-1.20200211/MANIFEST 2020-02-11 04:33:57.000000000 +0100
+++ new/Modern-Perl-1.20220515/MANIFEST 2022-05-15 20:15:27.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.017.
 Changes
 LICENSE
 MANIFEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Modern-Perl-1.20200211/META.json 
new/Modern-Perl-1.20220515/META.json
--- old/Modern-Perl-1.20200211/META.json        2020-02-11 04:33:57.000000000 
+0100
+++ new/Modern-Perl-1.20220515/META.json        2022-05-15 20:15:27.000000000 
+0200
@@ -4,7 +4,7 @@
       "chromatic"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 
2.150010",
+   "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 
2.150010",
    "license" : [
       "perl_5"
    ],
@@ -45,8 +45,9 @@
          "web" : "https://github.com/chromatic/Modern-Perl";
       }
    },
-   "version" : "1.20200211",
-   "x_generated_by_perl" : "v5.30.0",
-   "x_serialization_backend" : "Cpanel::JSON::XS version 4.11"
+   "version" : "1.20220515",
+   "x_generated_by_perl" : "v5.34.0",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 4.26",
+   "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Modern-Perl-1.20200211/META.yml 
new/Modern-Perl-1.20220515/META.yml
--- old/Modern-Perl-1.20200211/META.yml 2020-02-11 04:33:57.000000000 +0100
+++ new/Modern-Perl-1.20220515/META.yml 2022-05-15 20:15:27.000000000 +0200
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,6 +24,7 @@
 resources:
   homepage: https://github.com/chromatic/Modern-Perl
   repository: https://github.com/chromatic/Modern-Perl.git
-version: '1.20200211'
-x_generated_by_perl: v5.30.0
+version: '1.20220515'
+x_generated_by_perl: v5.34.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/Modern-Perl-1.20200211/Makefile.PL 
new/Modern-Perl-1.20220515/Makefile.PL
--- old/Modern-Perl-1.20200211/Makefile.PL      2020-02-11 04:33:57.000000000 
+0100
+++ new/Modern-Perl-1.20220515/Makefile.PL      2022-05-15 20:15:27.000000000 
+0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.017.
 use strict;
 use warnings;
 
@@ -27,7 +27,7 @@
   "TEST_REQUIRES" => {
     "Test::More" => "0.98"
   },
-  "VERSION" => "1.20200211",
+  "VERSION" => "1.20220515",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Modern-Perl-1.20200211/README 
new/Modern-Perl-1.20220515/README
--- old/Modern-Perl-1.20200211/README   2020-02-11 04:33:57.000000000 +0100
+++ new/Modern-Perl-1.20220515/README   2022-05-15 20:15:27.000000000 +0200
@@ -40,7 +40,7 @@
 
 COPYRIGHT AND LICENCE
 
-Copyright (C) 2009-2018 chromatic
+Copyright (C) 2009-2022 chromatic
 
 This program is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Modern-Perl-1.20200211/lib/Modern/Perl.pm 
new/Modern-Perl-1.20220515/lib/Modern/Perl.pm
--- old/Modern-Perl-1.20200211/lib/Modern/Perl.pm       2020-02-11 
04:33:57.000000000 +0100
+++ new/Modern-Perl-1.20220515/lib/Modern/Perl.pm       2022-05-15 
20:15:27.000000000 +0200
@@ -1,6 +1,6 @@
 package Modern::Perl;
 # ABSTRACT: enable all of the features of Modern Perl with one import
-$Modern::Perl::VERSION = '1.20200211';
+$Modern::Perl::VERSION = '1.20220515';
 use 5.010_000;
 
 use strict;
@@ -18,11 +18,11 @@
 sub VERSION {
     my ($self, $version) = @_;
 
-    return $Modern::Perl::VERSION || 2020 unless defined $version;
-    return $Modern::Perl::VERSION || 2020 if             $version < 2009;
+    return $Modern::Perl::VERSION || 2022 unless defined $version;
+    return $Modern::Perl::VERSION || 2022 if             $version < 2009;
 
     $wanted_date = $version if (caller(1))[3] =~ /::BEGIN/;
-    return 2020;
+    return 2022;
 }
 
 sub import {
@@ -35,6 +35,12 @@
     warnings->import;
     strict->import;
     feature->import( $feature_tag );
+
+    if ($feature_tag ge ':5.34') {
+        feature->import( 'signatures' );
+        warnings->unimport( 'experimental::signatures' );
+    }
+
     mro::set_mro( scalar caller(), 'c3' );
 }
 
@@ -58,6 +64,8 @@
         2018 => ':5.26',
         2019 => ':5.28',
         2020 => ':5.30',
+        2021 => ':5.32',
+        2022 => ':5.34',
     );
 
     my $date = shift;
@@ -89,7 +97,7 @@
 
 =head1 VERSION
 
-version 1.20200211
+version 1.20220515
 
 =head1 SYNOPSIS
 
@@ -178,6 +186,22 @@
 
 ... enables 5.26 features.
 
+    use Modern::Perl '2019';
+
+... enables 5.28 features.
+
+    use Modern::Perl '2020';
+
+... enables 5.30 features.
+
+    use Modern::Perl '2021';
+
+... enables 5.32 features.
+
+    use Modern::Perl '2022';
+
+... enables 5.34 features.
+
 Obviously you cannot use newer features on earlier
 versions. Perl will throw the appropriate exception if you try.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Modern-Perl-1.20200211/lib/odern/Perl.pm 
new/Modern-Perl-1.20220515/lib/odern/Perl.pm
--- old/Modern-Perl-1.20200211/lib/odern/Perl.pm        2020-02-11 
04:33:57.000000000 +0100
+++ new/Modern-Perl-1.20220515/lib/odern/Perl.pm        2022-05-15 
20:15:27.000000000 +0200
@@ -1,6 +1,6 @@
 package odern::Perl;
 #ABSTRACT: Module for enabling all of the features of Modern Perl
-$odern::Perl::VERSION = '1.20200211';
+$odern::Perl::VERSION = '1.20220515';
 use Modern::Perl;
 
 *import = \&Modern::Perl::import;
@@ -19,7 +19,7 @@
 
 =head1 VERSION
 
-version 1.20200211
+version 1.20220515
 
 =head1 AUTHOR
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Modern-Perl-1.20200211/t/year_imports.t 
new/Modern-Perl-1.20220515/t/year_imports.t
--- old/Modern-Perl-1.20200211/t/year_imports.t 2020-02-11 04:33:57.000000000 
+0100
+++ new/Modern-Perl-1.20220515/t/year_imports.t 2022-05-15 20:15:27.000000000 
+0200
@@ -100,6 +100,21 @@
     };
 }
 
+sub test_signatures_for {
+    my $year = _get_year(shift);
+
+    my @narnings;
+    local $SIG{__WARN__} = sub { push @warnings, @_ };
+
+    local $@;
+    eval qq{
+        use Modern::Perl $year;
+        sub foo( $bar ) { ... }
+    };
+    is $@, '', q|$year enables signatures|;
+    is @warnings, 0, '... and disables signature warnings';
+}
+
 eval 'sub { given (0) {} }';
 isnt $@, '', 'use Modern::Perl () does not enable switch';
 
@@ -277,6 +292,37 @@
     test_unicode_strings_for( $year );
 }
 
+if ($] >= 5.032)
+{
+    my $year = 2021;
+
+    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 );
+}
+
+if ($] >= 5.034)
+{
+    my $year = 2022;
+
+    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 );
+    test_signatures_for(      $year );
+}
+
 eval 'sub { given (0) {} }';
 isnt $@, "", 'switch feature does not leak out';
 eval 'sub { say 0 }';

Reply via email to