Hello community, here is the log from the commit of package perl-XML-Entities for openSUSE:Factory checked in at 2016-07-12 23:53:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-XML-Entities (Old) and /work/SRC/openSUSE:Factory/.perl-XML-Entities.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-Entities" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-XML-Entities/perl-XML-Entities.changes 2012-10-18 22:02:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-XML-Entities.new/perl-XML-Entities.changes 2016-07-12 23:53:44.000000000 +0200 @@ -1,0 +2,9 @@ +Sat Jun 25 06:22:31 UTC 2016 - co...@suse.com + +- update to 1.0002 + - Replaced curly brackets with parentheses in variable expansion in + Makefile.PL. + Fixes RT106483; Credits: Daniel Macks <dma...@netspace.org> + - make clean no longer wipes out entities data + +------------------------------------------------------------------- Old: ---- XML-Entities-1.0001.tar.gz New: ---- XML-Entities-1.0002.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-XML-Entities.spec ++++++ --- /var/tmp/diff_new_pack.YEQ89p/_old 2016-07-12 23:53:45.000000000 +0200 +++ /var/tmp/diff_new_pack.YEQ89p/_new 2016-07-12 23:53:45.000000000 +0200 @@ -2,7 +2,7 @@ # # spec file for package perl-XML-Entities # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -18,7 +18,7 @@ Name: perl-XML-Entities -Version: 1.0001 +Version: 1.0002 Release: 0 Summary: Perl Module to decode Strings with XML Entities License: Artistic-1.0 or GPL-1.0+ @@ -50,7 +50,7 @@ Source32: http://www.w3.org/2003/entities/iso9573-2003doc/../iso9573-2003/isotech.ent Url: http://search.cpan.org/dist/XML-Entities/ BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: perl = %{perl_version} +%{perl_requires} BuildRequires: make BuildRequires: perl BuildRequires: perl-libwww-perl ++++++ XML-Entities-1.0001.tar.gz -> XML-Entities-1.0002.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Entities/Changes new/XML-Entities/Changes --- old/XML-Entities/Changes 2012-08-03 13:36:24.000000000 +0200 +++ new/XML-Entities/Changes 2015-08-17 14:53:42.000000000 +0200 @@ -1,5 +1,11 @@ Revision history for XML-Entities +1.0002 2015-08-17 14:46 + - Replaced curly brackets with parentheses in variable expansion in + Makefile.PL. + Fixes RT106483; Credits: Daniel Macks <dma...@netspace.org> + - make clean no longer wipes out entities data + 1.0001 2012-08-03 13:32 Added docs about encoding entities. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Entities/Makefile.PL new/XML-Entities/Makefile.PL --- old/XML-Entities/Makefile.PL 2012-08-03 13:36:24.000000000 +0200 +++ new/XML-Entities/Makefile.PL 2015-08-17 14:53:42.000000000 +0200 @@ -9,16 +9,16 @@ ABSTRACT_FROM => 'lib/XML/Entities.pm', LICENSE => 'perl', PM => { - 'lib/XML/Entities.pm' => '${INST_LIBDIR}/Entities.pm', - 'lib/XML/Entities/Data.pm' => '${INST_LIBDIR}/Entities/Data.pm', - 'lib/XML/Entities/Data.pod' => '${INST_LIBDIR}/Entities/Data.pod', + 'lib/XML/Entities.pm' => '$(INST_LIBDIR)/Entities.pm', + 'lib/XML/Entities/Data.pm' => '$(INST_LIBDIR)/Entities/Data.pm', + 'lib/XML/Entities/Data.pod' => '$(INST_LIBDIR)/Entities/Data.pod', }, PL_FILES => { }, EXE_FILES => [ 'bin/download-entities.pl' ], MAN3PODS => { - 'lib/XML/Entities.pm' => '${INST_MAN3DIR}/XML::Entities.3pm', - 'lib/XML/Entities/Data.pod' => '${INST_MAN3DIR}/XML::Entities::Data.3pm', - 'bin/download-entities.pl' => '${INST_MAN3DIR}/download-entities.pl.3pm', + 'lib/XML/Entities.pm' => '$(INST_MAN3DIR)/XML::Entities.3pm', + 'lib/XML/Entities/Data.pod' => '$(INST_MAN3DIR)/XML::Entities::Data.3pm', + 'bin/download-entities.pl' => '$(INST_MAN3DIR)/download-entities.pl.3pm', }, PREREQ_PM => { 'Carp' => 0, @@ -28,5 +28,5 @@ }, MIN_PERL_VERSION => '5.008', dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, - clean => { FILES => 'XML-Entities-* lib/XML/Entities/Data.pm' }, + clean => { FILES => 'XML-Entities-*' }, ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Entities/lib/XML/Entities.pm new/XML-Entities/lib/XML/Entities.pm --- old/XML-Entities/lib/XML/Entities.pm 2012-08-03 13:36:24.000000000 +0200 +++ new/XML-Entities/lib/XML/Entities.pm 2015-08-17 14:53:42.000000000 +0200 @@ -5,7 +5,7 @@ use Carp; use XML::Entities::Data; -our $VERSION = '1.0001'; +our $VERSION = '1.0002'; eval { require HTML::Parser }; # for fast XS implemented _decode_entities diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Entities/lib/XML/md new/XML-Entities/lib/XML/md --- old/XML-Entities/lib/XML/md 2012-08-03 13:36:24.000000000 +0200 +++ new/XML-Entities/lib/XML/md 1970-01-01 01:00:00.000000000 +0100 @@ -1,68 +0,0 @@ -# NAME - -XML::Entities - Decode strings with XML entities - -# SYNOPSIS - - use XML::Entities; - - $a = "Tom & Jerry © Warner Bros."; - $b = XML::Entities::decode('all', $a); - $c = XML::Entities::numify('all', $a); - # now $b is "Tom & Jerry © Warner Bros. - # and $c is "Tom & Jerry © Warner Bros." - - # void context modifies the arguments - XML::Entities::numify('all', $a); - XML::Entities::decode('all', $a, $c); - # Now $a, $b and $c all contain the decoded string - -# DESCRIPTION - -Based upon the HTML::Entities module by Gisle Aas - -This module deals with decoding of strings with XML -character entities. The module provides two functions: - -- decode( $entity\_set, $string, ... ) - -This routine replaces XML entities from $entity\_set found in the -$string with the corresponding Unicode character. Unrecognized -entities are left alone. - -The $entity\_set can either be a name of an entity set - the selection -of which can be obtained by XML::Entities::Data::names(), or "all" for -a union, or alternatively a hashref which maps entity names (without -leading &'s) to the corresponding Unicode characters (or strings). - -If multiple strings are provided as argument they are each decoded -separately and the same number of strings are returned. - -If called in void context the arguments are decoded in-place. - -Note: If your version of `HTML::Parser` was built without Unicode support, then -`XML::Entities` uses a regular expression to do the decoding, which is slower. - -- numify( $entity\_set, $string, ... ) - -This functions converts named XML entities to numeric XML entities. It is less -robust than the `decode` function in the sense that it doesn't capture -improperly terminated entities. It behaves like `decode` in treating parameters -and returning values. - -## XML::Entities::Data - -The list of entities is defined in the XML::Entities::Data module. -The list can be generated from the w3.org definition (or any other). -Check `perldoc XML::Entities::Data` for more details. - -# SEE ALSO - -HTML::Entities, XML::Entities::Data - -# COPYRIGHT - -Copyright 2010 Jan Oldrich Kruza <sixte...@cpan.org>. All rights reserved. - -This library is free software; you can redistribute it and/or -modify it under the same terms as Perl itself. \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-Entities/lib/XML/md.html new/XML-Entities/lib/XML/md.html --- old/XML-Entities/lib/XML/md.html 2012-08-03 13:36:24.000000000 +0200 +++ new/XML-Entities/lib/XML/md.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,73 +0,0 @@ -<h1>NAME</h1> - -<p>XML::Entities - Decode strings with XML entities</p> - -<h1>SYNOPSIS</h1> - -<pre><code>use XML::Entities; - -$a = "Tom &amp; Jerry &copy; Warner Bros&period;"; -$b = XML::Entities::decode('all', $a); -$c = XML::Entities::numify('all', $a); -# now $b is "Tom & Jerry © Warner Bros. -# and $c is "Tom &#38; Jerry &#169; Warner Bros&#46;" - -# void context modifies the arguments -XML::Entities::numify('all', $a); -XML::Entities::decode('all', $a, $c); -# Now $a, $b and $c all contain the decoded string -</code></pre> - -<h1>DESCRIPTION</h1> - -<p>Based upon the HTML::Entities module by Gisle Aas</p> - -<p>This module deals with decoding of strings with XML -character entities. The module provides two functions:</p> - -<ul> -<li>decode( $entity_set, $string, ... )</li> -</ul> - -<p>This routine replaces XML entities from $entity_set found in the -$string with the corresponding Unicode character. Unrecognized -entities are left alone.</p> - -<p>The $entity_set can either be a name of an entity set - the selection -of which can be obtained by XML::Entities::Data::names(), or "all" for -a union, or alternatively a hashref which maps entity names (without -leading &'s) to the corresponding Unicode characters (or strings).</p> - -<p>If multiple strings are provided as argument they are each decoded -separately and the same number of strings are returned.</p> - -<p>If called in void context the arguments are decoded in-place.</p> - -<p>Note: If your version of <code>HTML::Parser</code> was built without Unicode support, then -<code>XML::Entities</code> uses a regular expression to do the decoding, which is slower.</p> - -<ul> -<li>numify( $entity_set, $string, ... )</li> -</ul> - -<p>This functions converts named XML entities to numeric XML entities. It is less -robust than the <code>decode</code> function in the sense that it doesn't capture -improperly terminated entities. It behaves like <code>decode</code> in treating parameters -and returning values.</p> - -<h2>XML::Entities::Data</h2> - -<p>The list of entities is defined in the XML::Entities::Data module. -The list can be generated from the w3.org definition (or any other). -Check <code>perldoc XML::Entities::Data</code> for more details.</p> - -<h1>SEE ALSO</h1> - -<p>HTML::Entities, XML::Entities::Data</p> - -<h1>COPYRIGHT</h1> - -<p>Copyright 2010 Jan Oldrich Kruza <a href="mailto:sixtease@cpan.org">sixtease@cpan.org</a>. All rights reserved.</p> - -<p>This library is free software; you can redistribute it and/or -modify it under the same terms as Perl itself.</p>