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 2025-06-17 18:23:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Modern-Perl (Old) and /work/SRC/openSUSE:Factory/.perl-Modern-Perl.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Modern-Perl" Tue Jun 17 18:23:18 2025 rev:29 rq:1286342 version:1.20250607 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Modern-Perl/perl-Modern-Perl.changes 2025-01-07 20:53:09.776276131 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Modern-Perl.new.19631/perl-Modern-Perl.changes 2025-06-17 18:24:08.539097228 +0200 @@ -1,0 +2,10 @@ +Sun Jun 8 05:36:11 UTC 2025 - Tina Müller <timueller+p...@suse.de> + +- updated to 1.20250607 + see /usr/share/doc/packages/perl-Modern-Perl/Changes + + 1.20250607 2025-06-07 16:56:19-07:00 America/Los_Angeles + - update for 2025 year bundle + - enhance documentation to discourage this module for v5.38 and newer + +------------------------------------------------------------------- Old: ---- Modern-Perl-1.20241001.tar.gz New: ---- Modern-Perl-1.20250607.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Modern-Perl.spec ++++++ --- /var/tmp/diff_new_pack.PAta7B/_old 2025-06-17 18:24:09.195124507 +0200 +++ /var/tmp/diff_new_pack.PAta7B/_new 2025-06-17 18:24:09.199124673 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Modern-Perl # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define cpan_name Modern-Perl Name: perl-Modern-Perl -Version: 1.20241001 +Version: 1.20250607 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Enable all of the features of Modern Perl with one import @@ -39,7 +39,7 @@ enable all of the features of Modern Perl with one import %prep -%autosetup -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor ++++++ Modern-Perl-1.20241001.tar.gz -> Modern-Perl-1.20250607.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20241001/Changes new/Modern-Perl-1.20250607/Changes --- old/Modern-Perl-1.20241001/Changes 2024-10-01 04:12:48.000000000 +0200 +++ new/Modern-Perl-1.20250607/Changes 2025-06-08 01:56:21.000000000 +0200 @@ -1,5 +1,9 @@ Revision history for Modern::Perl +1.20250607 2025-06-07 16:56:19-07:00 America/Los_Angeles + - update for 2025 year bundle + - enhance documentation to discourage this module for v5.38 and newer + 1.20241001 2024-09-30 19:12:47-07:00 America/Los_Angeles - fix switch tests after Perl 5.41.4 removal of deprecated feature (RT #155822, Slaven Rezic) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20241001/LICENSE new/Modern-Perl-1.20250607/LICENSE --- old/Modern-Perl-1.20241001/LICENSE 2024-10-01 04:12:48.000000000 +0200 +++ new/Modern-Perl-1.20250607/LICENSE 2025-06-08 01:56:21.000000000 +0200 @@ -1,4 +1,4 @@ -This software is copyright (c) 2024 by chroma...@wgz.org. +This software is copyright (c) 2025 by chroma...@wgz.org. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2024 by chroma...@wgz.org. +This software is Copyright (c) 2025 by chroma...@wgz.org. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Perl Artistic License 1.0 --- -This software is Copyright (c) 2024 by chroma...@wgz.org. +This software is Copyright (c) 2025 by chroma...@wgz.org. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20241001/META.json new/Modern-Perl-1.20250607/META.json --- old/Modern-Perl-1.20241001/META.json 2024-10-01 04:12:48.000000000 +0200 +++ new/Modern-Perl-1.20250607/META.json 2025-06-08 01:56:21.000000000 +0200 @@ -47,9 +47,9 @@ "web" : "https://github.com/chromatic/Modern-Perl" } }, - "version" : "1.20241001", - "x_generated_by_perl" : "v5.38.2", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.37", + "version" : "1.20250607", + "x_generated_by_perl" : "v5.40.1", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.39", "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.20241001/META.yml new/Modern-Perl-1.20250607/META.yml --- old/Modern-Perl-1.20241001/META.yml 2024-10-01 04:12:48.000000000 +0200 +++ new/Modern-Perl-1.20250607/META.yml 2025-06-08 01:56:21.000000000 +0200 @@ -26,7 +26,7 @@ resources: homepage: https://github.com/chromatic/Modern-Perl repository: https://github.com/chromatic/Modern-Perl.git -version: '1.20241001' -x_generated_by_perl: v5.38.2 -x_serialization_backend: 'YAML::Tiny version 1.74' +version: '1.20250607' +x_generated_by_perl: v5.40.1 +x_serialization_backend: 'YAML::Tiny version 1.76' 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.20241001/Makefile.PL new/Modern-Perl-1.20250607/Makefile.PL --- old/Modern-Perl-1.20241001/Makefile.PL 2024-10-01 04:12:48.000000000 +0200 +++ new/Modern-Perl-1.20250607/Makefile.PL 2025-06-08 01:56:21.000000000 +0200 @@ -29,7 +29,7 @@ "File::Spec" => 0, "Test::More" => "0.98" }, - "VERSION" => "1.20241001", + "VERSION" => "1.20250607", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20241001/README new/Modern-Perl-1.20250607/README --- old/Modern-Perl-1.20241001/README 2024-10-01 04:12:48.000000000 +0200 +++ new/Modern-Perl-1.20250607/README 2025-06-08 01:56:21.000000000 +0200 @@ -7,6 +7,13 @@ use Modern::Perl; +*NOTE* that Perl versions 5.38 and newer effectively do the same thing with: + + use v5.38; # or v5.40, v5.42, etc + +... so if you're writing code with those language versions, you may not need +this module at all! + INSTALLATION To install this module, run the following commands: @@ -40,7 +47,7 @@ COPYRIGHT AND LICENCE -Copyright (C) 2009-2022 chromatic +Copyright (C) 2009-2025 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.20241001/dist.ini new/Modern-Perl-1.20250607/dist.ini --- old/Modern-Perl-1.20241001/dist.ini 2024-10-01 04:12:48.000000000 +0200 +++ new/Modern-Perl-1.20250607/dist.ini 2025-06-08 01:56:21.000000000 +0200 @@ -2,7 +2,7 @@ author = chromatic license = Perl_5 copyright_holder = chroma...@wgz.org -copyright_year = 2024 +copyright_year = 2025 [AutoVersion] format = {{ cldr('1.yyyyMMdd') }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20241001/lib/Modern/Perl.pm new/Modern-Perl-1.20250607/lib/Modern/Perl.pm --- old/Modern-Perl-1.20241001/lib/Modern/Perl.pm 2024-10-01 04:12:48.000000000 +0200 +++ new/Modern-Perl-1.20250607/lib/Modern/Perl.pm 2025-06-08 01:56:21.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.20241001'; +$Modern::Perl::VERSION = '1.20250607'; use 5.010_000; use strict; @@ -18,7 +18,7 @@ sub VERSION { my ($self, $version) = @_; - my $default = 2024; + my $default = 2025; return $Modern::Perl::VERSION || $default unless defined $version; return $Modern::Perl::VERSION || $default if $version < 2009; @@ -80,6 +80,7 @@ 2022 => ':5.34', 2023 => ':5.36', 2024 => ':5.38', + 2025 => ':5.40', ); my $date = shift; @@ -111,7 +112,7 @@ =head1 VERSION -version 1.20241001 +version 1.20250607 =head1 SYNOPSIS @@ -198,31 +199,35 @@ use Modern::Perl '2018'; -... enables 5.26 features. +... enables 5.26 features, and: use Modern::Perl '2019'; -... enables 5.28 features. +... enables 5.28 features, and: use Modern::Perl '2020'; -... enables 5.30 features. +... enables 5.30 features, and: use Modern::Perl '2021'; -... enables 5.32 features. +... enables 5.32 features, and: use Modern::Perl '2022'; -... enables 5.34 features. +... enables 5.34 features, and: use Modern::Perl '2023'; -... enables 5.36 features. +... enables 5.36 features, and: use Modern::Perl '2024'; -... enables 5.38 features. +... enables 5.38 features, and: + + use Modern::Perl '2025'; + +... enables 5.40 features. Obviously you cannot use newer features on earlier versions. Perl will throw the appropriate exception if you try. @@ -292,7 +297,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2024 by chroma...@wgz.org. +This software is copyright (c) 2025 by chroma...@wgz.org. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20241001/lib/odern/Perl.pm new/Modern-Perl-1.20250607/lib/odern/Perl.pm --- old/Modern-Perl-1.20241001/lib/odern/Perl.pm 2024-10-01 04:12:48.000000000 +0200 +++ new/Modern-Perl-1.20250607/lib/odern/Perl.pm 2025-06-08 01:56:21.000000000 +0200 @@ -1,6 +1,6 @@ package odern::Perl; #ABSTRACT: Module for enabling all of the features of Modern Perl -$odern::Perl::VERSION = '1.20241001'; +$odern::Perl::VERSION = '1.20250607'; use Modern::Perl; *import = \&Modern::Perl::import; @@ -19,7 +19,7 @@ =head1 VERSION -version 1.20241001 +version 1.20250607 =head1 AUTHOR @@ -27,7 +27,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2024 by chroma...@wgz.org. +This software is copyright (c) 2025 by chroma...@wgz.org. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20241001/t/year_imports.t new/Modern-Perl-1.20250607/t/year_imports.t --- old/Modern-Perl-1.20241001/t/year_imports.t 2024-10-01 04:12:48.000000000 +0200 +++ new/Modern-Perl-1.20250607/t/year_imports.t 2025-06-08 01:56:21.000000000 +0200 @@ -475,6 +475,28 @@ test_module_true_for( $year ); } +if ($] >= 5.040) +{ + my $year = 2025; + + test_no_switch_for( $year ); + test_no_indirect_for( $year ); + test_no_multidimensional_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 ); + test_isa_for( $year ); + test_warnings_for( $year ); + test_module_true_for( $year ); +} + eval 'sub { given (0) {} }'; isnt $@, "", 'switch feature does not leak out'; eval 'sub { say 0 }';