Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Scalar-List-Utils for openSUSE:Factory checked in at 2022-03-29 18:13:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Scalar-List-Utils (Old) and /work/SRC/openSUSE:Factory/.perl-Scalar-List-Utils.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Scalar-List-Utils" Tue Mar 29 18:13:48 2022 rev:24 rq:964979 version:1.62 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Scalar-List-Utils/perl-Scalar-List-Utils.changes 2022-02-26 17:02:28.591539654 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Scalar-List-Utils.new.1900/perl-Scalar-List-Utils.changes 2022-03-29 18:13:50.699041262 +0200 @@ -1,0 +2,14 @@ +Fri Mar 18 03:08:55 UTC 2022 - Tina M??ller <timueller+p...@suse.de> + +- updated to 1.62 + see /usr/share/doc/packages/perl-Scalar-List-Utils/Changes + + 1.62 -- 2022-03-17 + [CHANGES] + * Prepare for perl 5.35.10 release: + + Skip the tainted tests if your perl was built without taint + support + + Document the existence of the `builtin::` equivalents for + several Scalar::Util functions + +------------------------------------------------------------------- Old: ---- Scalar-List-Utils-1.61.tar.gz New: ---- Scalar-List-Utils-1.62.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Scalar-List-Utils.spec ++++++ --- /var/tmp/diff_new_pack.45XEqR/_old 2022-03-29 18:13:51.135041663 +0200 +++ /var/tmp/diff_new_pack.45XEqR/_new 2022-03-29 18:13:51.143041670 +0200 @@ -18,7 +18,7 @@ %define cpan_name Scalar-List-Utils Name: perl-Scalar-List-Utils -Version: 1.61 +Version: 1.62 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Common Scalar and List utility subroutines ++++++ Scalar-List-Utils-1.61.tar.gz -> Scalar-List-Utils-1.62.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-List-Utils-1.61/Changes new/Scalar-List-Utils-1.62/Changes --- old/Scalar-List-Utils-1.61/Changes 2022-02-16 13:40:34.000000000 +0100 +++ new/Scalar-List-Utils-1.62/Changes 2022-03-17 16:32:18.000000000 +0100 @@ -1,5 +1,13 @@ +1.62 -- 2022-03-17 + [CHANGES] + * Prepare for perl 5.35.10 release: + + Skip the tainted tests if your perl was built without taint + support + + Document the existence of the `builtin::` equivalents for + several Scalar::Util functions + 1.61 -- 2022-02-16 - [BUGFIXES} + [BUGFIXES] * Fix some more signed comparison warnings (Perl5 #19429) 1.60 -- 2021-10-08 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-List-Utils-1.61/META.json new/Scalar-List-Utils-1.62/META.json --- old/Scalar-List-Utils-1.61/META.json 2022-02-16 13:42:08.000000000 +0100 +++ new/Scalar-List-Utils-1.62/META.json 2022-03-17 16:37:11.000000000 +0100 @@ -53,6 +53,6 @@ "web" : "https://github.com/Scalar-List-Utils/Scalar-List-Utils" } }, - "version" : "1.61", + "version" : "1.62", "x_serialization_backend" : "JSON::PP version 4.06" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-List-Utils-1.61/META.yml new/Scalar-List-Utils-1.62/META.yml --- old/Scalar-List-Utils-1.61/META.yml 2022-02-16 13:42:08.000000000 +0100 +++ new/Scalar-List-Utils-1.62/META.yml 2022-03-17 16:37:11.000000000 +0100 @@ -23,5 +23,5 @@ resources: bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Scalar-List-Utils repository: https://github.com/Scalar-List-Utils/Scalar-List-Utils.git -version: '1.61' +version: '1.62' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-List-Utils-1.61/lib/List/Util/XS.pm new/Scalar-List-Utils-1.62/lib/List/Util/XS.pm --- old/Scalar-List-Utils-1.61/lib/List/Util/XS.pm 2022-02-16 13:40:34.000000000 +0100 +++ new/Scalar-List-Utils-1.62/lib/List/Util/XS.pm 2022-03-17 16:32:18.000000000 +0100 @@ -3,7 +3,7 @@ use warnings; use List::Util; -our $VERSION = "1.61"; # FIXUP +our $VERSION = "1.62"; # FIXUP $VERSION =~ tr/_//d; # FIXUP 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-List-Utils-1.61/lib/List/Util.pm new/Scalar-List-Utils-1.62/lib/List/Util.pm --- old/Scalar-List-Utils-1.61/lib/List/Util.pm 2022-02-16 13:40:34.000000000 +0100 +++ new/Scalar-List-Utils-1.62/lib/List/Util.pm 2022-03-17 16:32:18.000000000 +0100 @@ -16,7 +16,7 @@ sample shuffle uniq uniqint uniqnum uniqstr zip zip_longest zip_shortest mesh mesh_longest mesh_shortest head tail pairs unpairs pairkeys pairvalues pairmap pairgrep pairfirst ); -our $VERSION = "1.61"; +our $VERSION = "1.62"; our $XS_VERSION = $VERSION; $VERSION =~ tr/_//d; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-List-Utils-1.61/lib/Scalar/Util.pm new/Scalar-List-Utils-1.62/lib/Scalar/Util.pm --- old/Scalar-List-Utils-1.61/lib/Scalar/Util.pm 2022-02-16 13:40:34.000000000 +0100 +++ new/Scalar-List-Utils-1.62/lib/Scalar/Util.pm 2022-03-17 16:32:18.000000000 +0100 @@ -17,7 +17,7 @@ dualvar isdual isvstring looks_like_number openhandle readonly set_prototype tainted ); -our $VERSION = "1.61"; +our $VERSION = "1.62"; $VERSION =~ tr/_//d; require List::Util; # List::Util loads the XS @@ -64,6 +64,21 @@ By default C<Scalar::Util> does not export any subroutines. +=head2 Core Perl C<builtin> Functions + +Many functions in this module have served as the inspiration for a new +experimental facility in recent versions of Perl. From various development +versions, starting at 5.35.7, equivalent functions to many of these utilities +are available in the C<builtin::> package. + + use Scalar::Util qw(blessed); + + $class = blessed $obj; + + $class = builtin::blessed $obj; # equivalent + +For more information, see the documentation on L<builtin>. + =cut =head1 FUNCTIONS FOR REFERENCES @@ -89,6 +104,9 @@ Take care when using this function simply as a truth test (such as in C<if(blessed $ref)...>) because the package name C<"0"> is defined yet false. +I<Since Perl version 5.35.7> an equivalent function is available as +C<builtin::blessed>. + =head2 refaddr my $addr = refaddr( $ref ); @@ -103,6 +121,9 @@ $obj = bless {}, "Foo"; $addr = refaddr $obj; # eg 88123488 +I<Since Perl version 5.35.7> an equivalent function is available as +C<builtin::refaddr>. + =head2 reftype my $type = reftype( $ref ); @@ -123,6 +144,9 @@ on these but C<reftype()> will return the underlying C structure type of C<"REGEXP"> in all capitals. +I<Since Perl version 5.35.7> an equivalent function is available as +C<builtin::refaddr>. + =head2 weaken weaken( $ref ); @@ -162,6 +186,9 @@ destroyed because there is now always a strong reference to them in the @object array. +I<Since Perl version 5.35.7> an equivalent function is available as +C<builtin::weaken>. + =head2 unweaken unweaken( $ref ); @@ -183,6 +210,9 @@ (because in particular, simply assigning a weak reference back to itself does not work to unweaken it; C<$REF = $REF> does not work). +I<Since Perl version 5.35.7> an equivalent function is available as +C<builtin::unweaken>. + =head2 isweak my $weak = isweak( $ref ); @@ -199,6 +229,9 @@ $copy = $ref; $weak = isweak($copy); # false +I<Since Perl version 5.35.7> an equivalent function is available as +C<builtin::isweak>. + =head1 OTHER FUNCTIONS =head2 dualvar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-List-Utils-1.61/lib/Sub/Util.pm new/Scalar-List-Utils-1.62/lib/Sub/Util.pm --- old/Scalar-List-Utils-1.61/lib/Sub/Util.pm 2022-02-16 13:40:34.000000000 +0100 +++ new/Scalar-List-Utils-1.62/lib/Sub/Util.pm 2022-03-17 16:32:18.000000000 +0100 @@ -15,7 +15,7 @@ subname set_subname ); -our $VERSION = "1.61"; +our $VERSION = "1.62"; $VERSION =~ tr/_//d; require List::Util; # as it has the XS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Scalar-List-Utils-1.61/t/tainted.t new/Scalar-List-Utils-1.62/t/tainted.t --- old/Scalar-List-Utils-1.61/t/tainted.t 2022-02-16 13:40:34.000000000 +0100 +++ new/Scalar-List-Utils-1.62/t/tainted.t 2022-03-17 16:29:05.000000000 +0100 @@ -3,10 +3,18 @@ use strict; use warnings; -use Test::More tests => 5; - +use Config; +use Test::More; use Scalar::Util qw(tainted); +if (exists($Config{taint_support}) && not $Config{taint_support}) { + plan skip_all => "your perl was built without taint support"; +} +else { + plan tests => 5; +} + + ok( !tainted(1), 'constant number'); my $var = 2;