From ae18f7633251fd3df8384e8271d2c38645c78c3607b1a5d019a41c30e8c24583 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 22 Jan 2009 15:52:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-LibXML?expand=0&rev=5 --- XML-LibXML-1.66.tar.bz2 | 3 --- XML-LibXML-1.69.tar.bz2 | 3 +++ perl-XML-LibXML-utf16.diff | 36 +++++++++++++++++++++++++++++++++++ perl-XML-LibXML.changes | 22 +++++++++++++++++++++ perl-XML-LibXML.spec | 39 +++++++++++++++++++++++++++++++++----- 5 files changed, 95 insertions(+), 8 deletions(-) delete mode 100644 XML-LibXML-1.66.tar.bz2 create mode 100644 XML-LibXML-1.69.tar.bz2 create mode 100644 perl-XML-LibXML-utf16.diff diff --git a/XML-LibXML-1.66.tar.bz2 b/XML-LibXML-1.66.tar.bz2 deleted file mode 100644 index 11ab36c..0000000 --- a/XML-LibXML-1.66.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df9a76d7a6e668fb1c2e17d7569050cc7c4986d730d71fd1a085ffc6f036b525 -size 217822 diff --git a/XML-LibXML-1.69.tar.bz2 b/XML-LibXML-1.69.tar.bz2 new file mode 100644 index 0000000..a095012 --- /dev/null +++ b/XML-LibXML-1.69.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ddfc3924bf0788fd7bf5a61c52d965ef188e9cd8e1464f5ac707d3ef2f6169a +size 244600 diff --git a/perl-XML-LibXML-utf16.diff b/perl-XML-LibXML-utf16.diff new file mode 100644 index 0000000..bebd964 --- /dev/null +++ b/perl-XML-LibXML-utf16.diff @@ -0,0 +1,36 @@ +--- 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 174cda0..a547905 100644 --- a/perl-XML-LibXML.changes +++ b/perl-XML-LibXML.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Thu Jan 22 15:24:33 CET 2009 - anicka@suse.cz + +- update to 1.69 + * fix incorrect output of getAttributeNS and possibly other + methods on UTF-8 + * added $node_or_xpc->exists($xpath) method + * remove accidental debug output from XML::LibXML::SAX::Builder + * compilation problem fixes + * many bugfixes (rt.cpan.org) + * added XML::LibXML::Pattern module and extended pattern + support in Reader + * added XML::LibXML::XPathExpression module that can pre-compile + an XPath expression + * reimplementation of the thread support + * structured errors XML::LibXML::Error + * memory leak fixes + * documentation fixes + * README - notes for building on Win32 +- temporarily disabled two utf16 tests that fail due to our + old libxml + ------------------------------------------------------------------- Tue Feb 5 16:21:21 CET 2008 - anicka@suse.cz diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec index 9cba031..cbb790d 100644 --- a/perl-XML-LibXML.spec +++ b/perl-XML-LibXML.spec @@ -1,18 +1,26 @@ # -# spec file for package perl-XML-LibXML (Version 1.66) +# spec file for package perl-XML-LibXML (Version 1.69) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2009 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: perl-XML-LibXML BuildRequires: libxml2-devel perl-XML-LibXML-Common perl-XML-SAX -Version: 1.66 +Version: 1.69 Release: 1 Requires: perl = %{perl_version} perl-XML-LibXML-Common perl-XML-SAX AutoReqProv: on @@ -21,6 +29,7 @@ License: Artistic License Url: http://www.cpan.org/modules/by-module/XML/ Summary: XML::LibXML Perl Module Source: XML-LibXML-%{version}.tar.bz2 +Patch: %{name}-utf16.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -34,6 +43,7 @@ implementation. %prep %setup -q -n XML-LibXML-%{version} +%patch %build perl Makefile.PL @@ -58,6 +68,25 @@ rm -rf $RPM_BUILD_ROOT /var/adm/perl-modules/%{name} %changelog +* Thu Jan 22 2009 anicka@suse.cz +- update to 1.69 + * fix incorrect output of getAttributeNS and possibly other + methods on UTF-8 + * added $node_or_xpc->exists($xpath) method + * remove accidental debug output from XML::LibXML::SAX::Builder + * compilation problem fixes + * many bugfixes (rt.cpan.org) + * added XML::LibXML::Pattern module and extended pattern + support in Reader + * added XML::LibXML::XPathExpression module that can pre-compile + an XPath expression + * reimplementation of the thread support + * structured errors XML::LibXML::Error + * memory leak fixes + * documentation fixes + * README - notes for building on Win32 +- temporarily disabled two utf16 tests that fail due to our + old libxml * Tue Feb 05 2008 anicka@suse.cz - update to 1.66 * Perl-thread support