8
0

Accepting request 73957 from devel:languages:perl

- 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/request/show/73957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-LibXML?expand=0&rev=16
This commit is contained in:
Sascha Peilicke
2011-07-01 11:55:18 +00:00
committed by Git OBS Bridge
parent edcd249b2c
commit 524c18da11
4 changed files with 33 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-XML-LibXML (Version 1.70)
# spec file for package perl-XML-LibXML (Version 1.71)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -21,11 +21,11 @@
Name: perl-XML-LibXML
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Perl Binding for libxml2
Version: 1.70
Version: 1.71
Release: 8
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License ..
License: GPL-1.0+ or Artistic
Url: http://search.cpan.org/dist/XML-LibXML/
Source: %{cpan_name}-%{version}.tar.bz2
Patch: %{name}-utf16.diff
@@ -45,11 +45,6 @@ provides interfaces for parsing and manipulating XML files. This module allows
Perl programmers to make use of the highly capable validating XML parser and
the high performance DOM implementation.
Authors:
Matt Sergeant, Christian Glahn, Petr Pajas
%prep
%setup -q -n %{cpan_name}-%{version}
%patch