From 9b3b8a64b27e25996c6001f5da073033ccd1451ba9b5e77ef2db22ce1672f4f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20=C4=8C=C3=AD=C5=BEek?= Date: Thu, 16 Jun 2011 07:51:16 +0000 Subject: [PATCH 1/4] - update to 1.71 - turn XML_LIBXML_PARSE_DEFAULTS constant to $XML::LibXML::XML_LIBXML_PARSE_DEFAULTS - Apply 0001-XML-LibXML-Error-no-need-to-AUTOLOAD-domain.patch from https://rt.cpan.org/Public/Bug/Display.html?id=68575 - no need to AUTOLOAD 'domain' because a method like that exists. - Apply 0002-XML-LibXML-Error-avoid-AUTOLOAD.patch from https://rt.cpan.org/Public/Bug/Display.html?id=68575 - get rid of AUTOLOAD completely. - Apply 0003-XML-LibXML-Error-make-domain-work-for-unknown-domain.patch from https://rt.cpan.org/Public/Bug/Display.html?id=68575 - handle unknown domains. - Apply 0004-XML-LibXML-Error-add-domains-from-newer-libxml2.patch from https://rt.cpan.org/Public/Bug/Display.html?id=68575 - add more errors. - Apply 0005-XML-LibXML-Error-avoid-malformed-UTF-8-warnings.patch from https://rt.cpan.org/Public/Bug/Display.html?id=68575 - In replaceDataString - use http://perldoc.perl.org/functions/quotemeta.html instead of a long (and incomplete) list of characters to escape. -- With test. -- also fix deleteDataString by making it use replaceDataString for help. -- Fixing https://rt.cpan.org/Ticket/Display.html?id=68564 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXML?expand=0&rev=13 --- perl-XML-LibXML.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec index 7623ce9..eeb12e7 100644 --- a/perl-XML-LibXML.spec +++ b/perl-XML-LibXML.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-XML-LibXML +# spec file for package perl-XML-LibXML (Version 1.71) # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: perl-XML-LibXML %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Perl Binding for libxml2 Version: 1.71 -Release: 1 +Release: 8 AutoReqProv: on Group: Development/Libraries/Perl License: GPL-1.0+ or Artistic From f2269bcdc609e60d43cebf0dae710071bf695f25c86d39c42129f7a029c85eeb Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 1 Jul 2011 11:55:21 +0000 Subject: [PATCH 2/4] Accepting request 73957 from devel:languages:perl baserev update by copy to link target OBS-URL: https://build.opensuse.org/request/show/73957 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXML?expand=0&rev=14 From cc9818ad024332b3dbdbc9b147229afd4c4adc407ab12483f2d36acd36c758eb Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 1 Jul 2011 11:55:33 +0000 Subject: [PATCH 3/4] Updating link to change in openSUSE:Factory/perl-XML-LibXML revision 17.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXML?expand=0&rev=b6fe3644f67757ee9ab04c0d9575a1d4 --- perl-XML-LibXML.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec index eeb12e7..7623ce9 100644 --- a/perl-XML-LibXML.spec +++ b/perl-XML-LibXML.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-XML-LibXML (Version 1.71) +# spec file for package perl-XML-LibXML # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: perl-XML-LibXML %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Perl Binding for libxml2 Version: 1.71 -Release: 8 +Release: 1 AutoReqProv: on Group: Development/Libraries/Perl License: GPL-1.0+ or Artistic From 5bcb87914803d37cb96e86d6a761f910547542f92c9bcc4cb53360db382175be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20=C4=8C=C3=AD=C5=BEek?= Date: Mon, 11 Jul 2011 14:40:26 +0000 Subject: [PATCH 4/4] - update to 1.79 - many rt bug fixes - most of the tests rewritten to use Test::More - dropped utf-16 patch (no longer needed) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXML?expand=0&rev=15 --- XML-LibXML-1.71.tar.bz2 | 3 --- XML-LibXML-1.79.tar.gz | 3 +++ perl-XML-LibXML-utf16.diff | 36 ------------------------------------ perl-XML-LibXML.changes | 8 ++++++++ perl-XML-LibXML.spec | 6 ++---- 5 files changed, 13 insertions(+), 43 deletions(-) delete mode 100644 XML-LibXML-1.71.tar.bz2 create mode 100644 XML-LibXML-1.79.tar.gz delete mode 100644 perl-XML-LibXML-utf16.diff diff --git a/XML-LibXML-1.71.tar.bz2 b/XML-LibXML-1.71.tar.bz2 deleted file mode 100644 index 192f836..0000000 --- a/XML-LibXML-1.71.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de2d56cddc7c2c45057bc7c83d564bc94f22ee4b96205f1a2fb24492800e5bf7 -size 275323 diff --git a/XML-LibXML-1.79.tar.gz b/XML-LibXML-1.79.tar.gz new file mode 100644 index 0000000..096d839 --- /dev/null +++ b/XML-LibXML-1.79.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33bf3c9fc144821e75c741fa9d28ea70879f64fc3011016685413475a0040650 +size 424459 diff --git a/perl-XML-LibXML-utf16.diff b/perl-XML-LibXML-utf16.diff deleted file mode 100644 index bebd964..0000000 --- a/perl-XML-LibXML-utf16.diff +++ /dev/null @@ -1,36 +0,0 @@ ---- t/09xpath.t -+++ t/09xpath.t -@@ -1,7 +1,7 @@ - use Test; - use strict; - --BEGIN { plan tests => 57 }; -+BEGIN { plan tests => 55 }; - use XML::LibXML; - - my $xmlstring = <findnodes("//p"); - ok (@nodes == 1); -- skip( -- (20700 > XML::LibXML::LIBXML_RUNTIME_VERSION) -- ? "UTF-16 and HTML broken in libxml2 < 2.7" -- : 0, -- $nodes[0]->textContent, "utf-16 test with umlauts: \x{e4}\x{f6}\x{fc}\x{c4}\x{d6}\x{dc}\x{df}"); --} -+ } - - { - # from #36576 -@@ -153,9 +148,4 @@ - ok($doc); - my @nodes = $doc->findnodes("//p"); - ok (@nodes == 1); -- skip( -- (20700 > XML::LibXML::LIBXML_RUNTIME_VERSION) -- ? "UTF-16 and HTML broken in libxml2 < 2.7" -- : 0, -- $nodes[0]->textContent, "utf-16 test with umlauts: \x{e4}\x{f6}\x{fc}\x{c4}\x{d6}\x{dc}\x{df}"); --} -+ } diff --git a/perl-XML-LibXML.changes b/perl-XML-LibXML.changes index 647eaea..573cc3f 100644 --- a/perl-XML-LibXML.changes +++ b/perl-XML-LibXML.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jul 11 14:28:38 UTC 2011 - vcizek@novell.com + + - update to 1.79 + - many rt bug fixes + - most of the tests rewritten to use Test::More + - dropped utf-16 patch (no longer needed) + ------------------------------------------------------------------- Thu Jun 16 07:37:20 UTC 2011 - vcizek@novell.com diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec index 7623ce9..737f03c 100644 --- a/perl-XML-LibXML.spec +++ b/perl-XML-LibXML.spec @@ -21,14 +21,13 @@ Name: perl-XML-LibXML %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Perl Binding for libxml2 -Version: 1.71 +Version: 1.79 Release: 1 AutoReqProv: on Group: Development/Libraries/Perl License: GPL-1.0+ or Artistic Url: http://search.cpan.org/dist/XML-LibXML/ -Source: %{cpan_name}-%{version}.tar.bz2 -Patch: %{name}-utf16.diff +Source: %{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl @@ -47,7 +46,6 @@ the high performance DOM implementation. %prep %setup -q -n %{cpan_name}-%{version} -%patch %build # [2,7,1,0], # broken release, broken utf-16