forked from pool/perl-XML-LibXML
This commit is contained in:
committed by
Git OBS Bridge
parent
4335917609
commit
ae18f76332
BIN
XML-LibXML-1.66.tar.bz2
(Stored with Git LFS)
BIN
XML-LibXML-1.66.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
XML-LibXML-1.69.tar.bz2
(Stored with Git LFS)
Normal file
BIN
XML-LibXML-1.69.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
36
perl-XML-LibXML-utf16.diff
Normal file
36
perl-XML-LibXML-utf16.diff
Normal file
@@ -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 = <<EOSTR;
|
||||||
|
@@ -139,12 +139,7 @@
|
||||||
|
use utf8;
|
||||||
|
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}");
|
||||||
|
-}
|
||||||
|
+ }
|
||||||
|
|
||||||
|
{
|
||||||
|
# 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}");
|
||||||
|
-}
|
||||||
|
+ }
|
@@ -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
|
Tue Feb 5 16:21:21 CET 2008 - anicka@suse.cz
|
||||||
|
|
||||||
|
@@ -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.
|
# Copyright (c) 2009 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.
|
|
||||||
#
|
#
|
||||||
|
# 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/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: perl-XML-LibXML
|
Name: perl-XML-LibXML
|
||||||
BuildRequires: libxml2-devel perl-XML-LibXML-Common perl-XML-SAX
|
BuildRequires: libxml2-devel perl-XML-LibXML-Common perl-XML-SAX
|
||||||
Version: 1.66
|
Version: 1.69
|
||||||
Release: 1
|
Release: 1
|
||||||
Requires: perl = %{perl_version} perl-XML-LibXML-Common perl-XML-SAX
|
Requires: perl = %{perl_version} perl-XML-LibXML-Common perl-XML-SAX
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
@@ -21,6 +29,7 @@ License: Artistic License
|
|||||||
Url: http://www.cpan.org/modules/by-module/XML/
|
Url: http://www.cpan.org/modules/by-module/XML/
|
||||||
Summary: XML::LibXML Perl Module
|
Summary: XML::LibXML Perl Module
|
||||||
Source: XML-LibXML-%{version}.tar.bz2
|
Source: XML-LibXML-%{version}.tar.bz2
|
||||||
|
Patch: %{name}-utf16.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -34,6 +43,7 @@ implementation.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n XML-LibXML-%{version}
|
%setup -q -n XML-LibXML-%{version}
|
||||||
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
perl Makefile.PL
|
||||||
@@ -58,6 +68,25 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/var/adm/perl-modules/%{name}
|
/var/adm/perl-modules/%{name}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Feb 05 2008 anicka@suse.cz
|
||||||
- update to 1.66
|
- update to 1.66
|
||||||
* Perl-thread support
|
* Perl-thread support
|
||||||
|
Reference in New Issue
Block a user