8
0

- 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
This commit is contained in:
Vítězslav Čížek
2011-07-11 14:40:26 +00:00
committed by Git OBS Bridge
parent cc9818ad02
commit 5bcb879148
5 changed files with 13 additions and 43 deletions

BIN
XML-LibXML-1.71.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
XML-LibXML-1.79.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -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 = <<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}");
-}
+ }

View File

@@ -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 Thu Jun 16 07:37:20 UTC 2011 - vcizek@novell.com

View File

@@ -21,14 +21,13 @@
Name: perl-XML-LibXML Name: perl-XML-LibXML
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Perl Binding for libxml2 Summary: Perl Binding for libxml2
Version: 1.71 Version: 1.79
Release: 1 Release: 1
AutoReqProv: on AutoReqProv: on
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
License: GPL-1.0+ or Artistic License: GPL-1.0+ or Artistic
Url: http://search.cpan.org/dist/XML-LibXML/ Url: http://search.cpan.org/dist/XML-LibXML/
Source: %{cpan_name}-%{version}.tar.bz2 Source: %{cpan_name}-%{version}.tar.gz
Patch: %{name}-utf16.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires} %{perl_requires}
BuildRequires: perl BuildRequires: perl
@@ -47,7 +46,6 @@ the high performance DOM implementation.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%patch
%build %build
# [2,7,1,0], # broken release, broken utf-16 # [2,7,1,0], # broken release, broken utf-16