Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-XML-Parser for openSUSE:Factory
checked in at 2026-05-24 19:34:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-Parser (Old)
and /work/SRC/openSUSE:Factory/.perl-XML-Parser.new.2084 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-Parser"
Sun May 24 19:34:33 2026 rev:41 rq:1354454 version:2.590.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-Parser/perl-XML-Parser.changes
2026-05-20 15:23:48.780390557 +0200
+++
/work/SRC/openSUSE:Factory/.perl-XML-Parser.new.2084/perl-XML-Parser.changes
2026-05-24 19:34:52.981385200 +0200
@@ -1,0 +2,22 @@
+Thu May 21 10:06:51 UTC 2026 - Tina Müller <[email protected]>
+
+- updated to 2.590.0 (2.59)
+ see /usr/share/doc/packages/perl-XML-Parser/Changes
+
+ 2.59 2026-05-20 (by Todd Rinaldo)
+
+ Fixes:
+ - PR #269 GH #268 Recognize blessed glob handles (e.g. IO::String)
+ in Expat::parse. The input-detection logic already handled
+ IO::Handle subclasses, unblessed GLOB refs, bare globs, and
+ bareword filehandle names but missed blessed globs that don't
+ inherit from IO::Handle (such as IO::String), silently
+ stringifying them and feeding the stringification to ParseString.
+ Add a Scalar::Util::reftype check so blessed GLOB references are
+ treated like any other glob handle
+
+ Maintenance:
+ - Add IO::String to the cpanfile so CI exercises the
+ blessed-glob-handle code path covered by PR #269
+
+-------------------------------------------------------------------
Old:
----
XML-Parser-2.58.tar.gz
New:
----
XML-Parser-2.59.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XML-Parser.spec ++++++
--- /var/tmp/diff_new_pack.QDcjcK/_old 2026-05-24 19:34:53.941424481 +0200
+++ /var/tmp/diff_new_pack.QDcjcK/_new 2026-05-24 19:34:53.945424644 +0200
@@ -18,10 +18,10 @@
%define cpan_name XML-Parser
Name: perl-XML-Parser
-Version: 2.580.0
+Version: 2.590.0
Release: 0
-# 2.58 -> normalize -> 2.580.0
-%define cpan_version 2.58
+# 2.59 -> normalize -> 2.590.0
+%define cpan_version 2.59
#Upstream: Artistic-1.0 or GPL-1.0-or-later
License: Artistic-2.0
Summary: Perl module for parsing XML documents
++++++ XML-Parser-2.58.tar.gz -> XML-Parser-2.59.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-Parser-2.58/Changes new/XML-Parser-2.59/Changes
--- old/XML-Parser-2.58/Changes 2026-04-23 16:04:13.000000000 +0200
+++ new/XML-Parser-2.59/Changes 2026-05-20 09:04:32.000000000 +0200
@@ -1,5 +1,21 @@
Revision history for Perl extension XML::Parser.
+2.59 2026-05-20 (by Todd Rinaldo)
+
+ Fixes:
+ - PR #269 GH #268 Recognize blessed glob handles (e.g. IO::String)
+ in Expat::parse. The input-detection logic already handled
+ IO::Handle subclasses, unblessed GLOB refs, bare globs, and
+ bareword filehandle names but missed blessed globs that don't
+ inherit from IO::Handle (such as IO::String), silently
+ stringifying them and feeding the stringification to ParseString.
+ Add a Scalar::Util::reftype check so blessed GLOB references are
+ treated like any other glob handle
+
+ Maintenance:
+ - Add IO::String to the cpanfile so CI exercises the
+ blessed-glob-handle code path covered by PR #269
+
2.58 2026-04-23 (by Todd Rinaldo)
Fixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-Parser-2.58/Expat/Expat.pm
new/XML-Parser-2.59/Expat/Expat.pm
--- old/XML-Parser-2.58/Expat/Expat.pm 2026-04-23 16:04:45.000000000 +0200
+++ new/XML-Parser-2.59/Expat/Expat.pm 2026-05-20 09:04:38.000000000 +0200
@@ -8,7 +8,7 @@
use XSLoader;
use Carp;
-our $VERSION = '2.58';
+our $VERSION = '2.59';
our ( %Encoding_Table, @Encoding_Path );
@@ -564,6 +564,15 @@
# reference of it yields a GLOB ref. (GH#201)
$ioref = *{$arg}{IO};
}
+ elsif ( ref($arg) ) {
+
+ # Blessed glob (e.g. IO::String) not descended
+ # from IO::Handle — extract IO slot if underlying
+ # reftype is GLOB. (GH#268)
+ require Scalar::Util;
+ $ioref = *{$arg}{IO}
+ if Scalar::Util::reftype($arg) eq 'GLOB';
+ }
elsif ( $arg =~ /\A[^\W\d]\w*(?:::\w+)*\z/
&& defined *{$arg} )
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-Parser-2.58/META.json
new/XML-Parser-2.59/META.json
--- old/XML-Parser-2.58/META.json 2026-04-23 16:06:55.000000000 +0200
+++ new/XML-Parser-2.59/META.json 2026-05-20 09:08:08.000000000 +0200
@@ -50,11 +50,11 @@
"provides" : {
"XML::Parser" : {
"file" : "Parser.pm",
- "version" : "2.58"
+ "version" : "2.59"
},
"XML::Parser::Expat" : {
"file" : "Expat/Expat.pm",
- "version" : "2.58"
+ "version" : "2.59"
},
"XML::Parser::Style::Debug" : {
"file" : "Parser/Style/Debug.pm"
@@ -83,6 +83,6 @@
"web" : "https://github.com/cpan-authors/XML-Parser"
}
},
- "version" : "2.58",
+ "version" : "2.59",
"x_serialization_backend" : "JSON::PP version 4.16"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-Parser-2.58/META.yml new/XML-Parser-2.59/META.yml
--- old/XML-Parser-2.58/META.yml 2026-04-23 16:06:55.000000000 +0200
+++ new/XML-Parser-2.59/META.yml 2026-05-20 09:08:08.000000000 +0200
@@ -23,10 +23,10 @@
provides:
XML::Parser:
file: Parser.pm
- version: '2.58'
+ version: '2.59'
XML::Parser::Expat:
file: Expat/Expat.pm
- version: '2.58'
+ version: '2.59'
XML::Parser::Style::Debug:
file: Parser/Style/Debug.pm
XML::Parser::Style::Objects:
@@ -45,5 +45,5 @@
resources:
bugtracker: https://github.com/cpan-authors/XML-Parser/issues
repository: https://github.com/cpan-authors/XML-Parser.git
-version: '2.58'
+version: '2.59'
x_serialization_backend: 'CPAN::Meta::YAML version 0.020'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-Parser-2.58/Parser.pm
new/XML-Parser-2.59/Parser.pm
--- old/XML-Parser-2.58/Parser.pm 2026-04-23 16:04:34.000000000 +0200
+++ new/XML-Parser-2.59/Parser.pm 2026-05-20 09:04:35.000000000 +0200
@@ -17,7 +17,7 @@
BEGIN {
require XML::Parser::Expat;
- $VERSION = '2.58';
+ $VERSION = '2.59';
die "Parser.pm and Expat.pm versions don't match"
unless $VERSION eq $XML::Parser::Expat::VERSION;
}
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.QDcjcK/_old 2026-05-24 19:34:54.161433483 +0200
+++ /var/tmp/diff_new_pack.QDcjcK/_new 2026-05-24 19:34:54.165433646 +0200
@@ -1,6 +1,6 @@
-mtime: 1777015059
-commit: 580a845cacbc0cff233a3514d2ccb511137a375f28754d86d7a0ab349fa549f4
+mtime: 1779358011
+commit: 90e506dd0c7243b913c196294f9c1402da54df99b8a8e2ab5d79ea9233e89a04
url: https://src.opensuse.org/perl/perl-XML-Parser
-revision: 580a845cacbc0cff233a3514d2ccb511137a375f28754d86d7a0ab349fa549f4
+revision: 90e506dd0c7243b913c196294f9c1402da54df99b8a8e2ab5d79ea9233e89a04
projectscmsync: https://src.opensuse.org/perl/_ObsPrj
++++++ build.specials.obscpio ++++++
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-05-21 12:06:51.000000000 +0200
@@ -0,0 +1 @@
+.osc