Hello community, here is the log from the commit of package perl-XML-Simple for openSUSE:Factory checked in at 2017-04-25 08:57:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-XML-Simple (Old) and /work/SRC/openSUSE:Factory/.perl-XML-Simple.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-Simple" Tue Apr 25 08:57:30 2017 rev:25 rq:489022 version:2.24 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-XML-Simple/perl-XML-Simple.changes 2015-12-13 09:36:43.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-XML-Simple.new/perl-XML-Simple.changes 2017-04-25 08:57:33.624415937 +0200 @@ -1,0 +2,16 @@ +Mon Apr 17 06:59:58 UTC 2017 - co...@suse.com + +- updated to 2.24 + see /usr/share/doc/packages/perl-XML-Simple/Changes + + 2.24 2017-04-17 16:12:00+12:00 Pacific/Auckland + - fix typo in last commit with mistakenly removed some underscores + - don't initialise $XML::Simple::PREFERRED_PARSER to undef as a caller may + have already set it before loading XML::Simple and if not, it would have + defaulted to undef anyway (RT#118205 from Slaven Rezić) + + 2.23 2017-04-17 15:49:14+12:00 Pacific/Auckland + - another fix to the logic for detecting circular references (RT#114120 from + Matthias Pitzl, also report from Erland Sommarskog) + +------------------------------------------------------------------- Old: ---- XML-Simple-2.22.tar.gz New: ---- XML-Simple-2.24.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-XML-Simple.spec ++++++ --- /var/tmp/diff_new_pack.J9vUCw/_old 2017-04-25 08:57:35.496151275 +0200 +++ /var/tmp/diff_new_pack.J9vUCw/_new 2017-04-25 08:57:35.496151275 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-XML-Simple # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,14 +17,14 @@ Name: perl-XML-Simple -Version: 2.22 +Version: 2.24 Release: 0 %define cpan_name XML-Simple Summary: An API for simple XML files License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/XML-Simple/ -Source0: http://www.cpan.org/authors/id/G/GR/GRANTM/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/G/GR/GRANTM/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -53,7 +53,7 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -69,6 +69,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE README +%doc Changes README +%license LICENSE %changelog ++++++ XML-Simple-2.22.tar.gz -> XML-Simple-2.24.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Simple-2.22/Changes new/XML-Simple-2.24/Changes --- old/XML-Simple-2.22/Changes 2015-12-04 23:08:23.000000000 +0100 +++ new/XML-Simple-2.24/Changes 2017-04-17 06:12:03.000000000 +0200 @@ -1,5 +1,15 @@ Revision history for XML-Simple +2.24 2017-04-17 16:12:00+12:00 Pacific/Auckland + - fix typo in last commit with mistakenly removed some underscores + - don't initialise $XML::Simple::PREFERRED_PARSER to undef as a caller may + have already set it before loading XML::Simple and if not, it would have + defaulted to undef anyway (RT#118205 from Slaven Rezić) + +2.23 2017-04-17 15:49:14+12:00 Pacific/Auckland + - another fix to the logic for detecting circular references (RT#114120 from + Matthias Pitzl, also report from Erland Sommarskog) + 2.22 2015-12-05 11:08:20+13:00 Pacific/Auckland - POD fix in link to package XML::SAX::ParseFactory (from Mohammad S Anwar) - allow subclass to override attribute escaping (from Christopher Masto) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Simple-2.22/LICENSE new/XML-Simple-2.24/LICENSE --- old/XML-Simple-2.22/LICENSE 2015-12-04 23:08:23.000000000 +0100 +++ new/XML-Simple-2.24/LICENSE 2017-04-17 06:12:03.000000000 +0200 @@ -22,7 +22,7 @@ Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Simple-2.22/MANIFEST new/XML-Simple-2.24/MANIFEST --- old/XML-Simple-2.22/MANIFEST 2015-12-04 23:08:23.000000000 +0100 +++ new/XML-Simple-2.24/MANIFEST 2017-04-17 06:12:03.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.022. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.043. Changes LICENSE MANIFEST @@ -22,9 +22,9 @@ t/9_Strict.t t/A_XMLParser.t t/B_Hooks.t +t/author-pod-syntax.t t/desertnet.src t/lib/TagsToUpper.pm -t/release-pod-syntax.t t/srt.xml t/subdir/test2.xml t/test1.xml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Simple-2.22/META.json new/XML-Simple-2.24/META.json --- old/XML-Simple-2.22/META.json 2015-12-04 23:08:23.000000000 +0100 +++ new/XML-Simple-2.24/META.json 2017-04-17 06:12:03.000000000 +0200 @@ -4,7 +4,7 @@ "Grant McLean <gra...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.022, CPAN::Meta::Converter version 2.142690", + "generated_by" : "Dist::Zilla version 5.043, CPAN::Meta::Converter version 2.150005", "license" : [ "perl_5" ], @@ -46,6 +46,6 @@ "web" : "https://github.com/grantm/xml-simple" } }, - "version" : "2.22" + "version" : "2.24" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Simple-2.22/META.yml new/XML-Simple-2.24/META.yml --- old/XML-Simple-2.22/META.yml 2015-12-04 23:08:23.000000000 +0100 +++ new/XML-Simple-2.24/META.yml 2017-04-17 06:12:03.000000000 +0200 @@ -3,21 +3,21 @@ author: - 'Grant McLean <gra...@cpan.org>' build_requires: - Test::More: 0.88 + Test::More: '0.88' configure_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.022, CPAN::Meta::Converter version 2.142690' +generated_by: 'Dist::Zilla version 5.043, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: XML-Simple requires: - XML::NamespaceSupport: 1.04 - XML::SAX: 0.15 - XML::SAX::Expat: 0 - perl: 5.008 + XML::NamespaceSupport: '1.04' + XML::SAX: '0.15' + XML::SAX::Expat: '0' + perl: '5.008' resources: repository: git://github.com/grantm/xml-simple.git -version: 2.22 +version: '2.24' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Simple-2.22/Makefile.PL new/XML-Simple-2.24/Makefile.PL --- old/XML-Simple-2.22/Makefile.PL 2015-12-04 23:08:23.000000000 +0100 +++ new/XML-Simple-2.24/Makefile.PL 2017-04-17 06:12:03.000000000 +0200 @@ -1,5 +1,4 @@ - -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.022. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.043. use strict; use warnings; @@ -7,8 +6,6 @@ use ExtUtils::MakeMaker; - - my %WriteMakefileArgs = ( "ABSTRACT" => "An API for simple XML files", "AUTHOR" => "Grant McLean <grantm\@cpan.org>", @@ -16,7 +13,6 @@ "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "XML-Simple", - "EXE_FILES" => [], "LICENSE" => "perl", "MIN_PERL_VERSION" => "5.008", "NAME" => "XML::Simple", @@ -28,7 +24,7 @@ "TEST_REQUIRES" => { "Test::More" => "0.88" }, - "VERSION" => "2.22", + "VERSION" => "2.24", "test" => { "TESTS" => "t/*.t" } @@ -36,7 +32,6 @@ my %FallbackPrereqs = ( - "ExtUtils::MakeMaker" => 0, "Test::More" => "0.88", "XML::NamespaceSupport" => "1.04", "XML::SAX" => "0.15", @@ -54,6 +49,3 @@ unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs); - - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Simple-2.22/README new/XML-Simple-2.24/README --- old/XML-Simple-2.22/README 2015-12-04 23:08:23.000000000 +0100 +++ new/XML-Simple-2.24/README 2017-04-17 06:12:03.000000000 +0200 @@ -1,7 +1,7 @@ This archive contains the distribution XML-Simple, -version 2.22: +version 2.24: An API for simple XML files @@ -11,5 +11,5 @@ the same terms as the Perl 5 programming language system itself. -This README file was generated by Dist::Zilla::Plugin::Readme v5.022. +This README file was generated by Dist::Zilla::Plugin::Readme v5.043. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Simple-2.22/dist.ini new/XML-Simple-2.24/dist.ini --- old/XML-Simple-2.22/dist.ini 2015-12-04 23:08:23.000000000 +0100 +++ new/XML-Simple-2.24/dist.ini 2017-04-17 06:12:03.000000000 +0200 @@ -1,6 +1,6 @@ name = XML-Simple author = Grant McLean <gra...@cpan.org> -version = 2.22 +version = 2.24 license = Perl_5 copyright_holder = Grant McLean copyright_year = 2015 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Simple-2.22/lib/XML/Simple.pm new/XML-Simple-2.24/lib/XML/Simple.pm --- old/XML-Simple-2.22/lib/XML/Simple.pm 2015-12-04 23:08:23.000000000 +0100 +++ new/XML-Simple-2.24/lib/XML/Simple.pm 2017-04-17 06:12:03.000000000 +0200 @@ -1,5 +1,5 @@ package XML::Simple; -$XML::Simple::VERSION = '2.22'; +$XML::Simple::VERSION = '2.24'; =head1 NAME XML::Simple - An API for simple XML files @@ -54,7 +54,6 @@ @ISA = qw(Exporter); @EXPORT = qw(XMLin XMLout); @EXPORT_OK = qw(xml_in xml_out); -$PREFERRED_PARSER = undef; my %StrictMode = (); @@ -1428,10 +1427,11 @@ # Convert to XML - if(my $refaddr = Scalar::Util::refaddr($ref)) { + my $refaddr = Scalar::Util::refaddr($ref); + if($refaddr) { croak "circular data structures not supported" if $self->{_ancestors}->{$refaddr}; - $self->{_ancestors}->{$refaddr} = 1; + $self->{_ancestors}->{$refaddr} = $ref; # keep ref alive until we delete it } else { if($named) { @@ -1649,9 +1649,7 @@ } - if(my $refaddr = Scalar::Util::refaddr($ref)) { - delete $self->{_ancestors}->{$refaddr}; - } + delete $self->{_ancestors}->{$refaddr}; return(join('', @result)); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Simple-2.22/t/author-pod-syntax.t new/XML-Simple-2.24/t/author-pod-syntax.t --- old/XML-Simple-2.22/t/author-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 +++ new/XML-Simple-2.24/t/author-pod-syntax.t 2017-04-17 06:12:03.000000000 +0200 @@ -0,0 +1,15 @@ +#!perl + +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + require Test::More; + Test::More::plan(skip_all => 'these tests are for testing by the author'); + } +} + +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use strict; use warnings; +use Test::More; +use Test::Pod 1.41; + +all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Simple-2.22/t/release-pod-syntax.t new/XML-Simple-2.24/t/release-pod-syntax.t --- old/XML-Simple-2.22/t/release-pod-syntax.t 2015-12-04 23:08:23.000000000 +0100 +++ new/XML-Simple-2.24/t/release-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. -use Test::More; -use Test::Pod 1.41; - -all_pod_files_ok();