Hello community,
here is the log from the commit of package perl-XML-Twig.2235 for
openSUSE:12.2:Update checked in at 2013-11-25 10:47:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/perl-XML-Twig.2235 (Old)
and /work/SRC/openSUSE:12.2:Update/.perl-XML-Twig.2235.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-Twig.2235"
Changes:
--------
New Changes file:
--- /dev/null 2013-11-25 01:44:08.036031256 +0100
+++
/work/SRC/openSUSE:12.2:Update/.perl-XML-Twig.2235.new/perl-XML-Twig.changes
2013-11-25 10:47:23.000000000 +0100
@@ -0,0 +1,89 @@
+-------------------------------------------------------------------
+Thu Oct 3 22:28:24 UTC 2013 - [email protected]
+
+- fix for bnc#789917
+ * https://bugzilla.novell.com/show_bug.cgi?id=789917
+ * fixed 3 tests
+ used $[ instead of $] in 3 tests,
+ see RT#72765 https://rt.cpan.org/Ticket/Display.html?id=72765
+ * added Twig_pm.slow.patch
+
+-------------------------------------------------------------------
+Fri Sep 23 16:33:24 UTC 2011 - [email protected]
+
+- update to 3.39
+ - no upstream changelog,
+ see https://github.com/mirod/xmltwig/commits/master
+ for individual commits
+- licence correction
+
+-------------------------------------------------------------------
+Sun Feb 27 23:43:46 UTC 2011 - [email protected]
+
+- update to 3.38:
+ * fixed: RT#65865: _ should be allowed at the start on an XML name
+ * removed: making att and class lvalues created problems: in certain context
+ they made regular calls to the method create empty attributes. I
+ could find no satisfactory fix,they were either incompletes, or to complex
+ for often used methods. So att and class are back to being regular, non
+ l-value methods. latt and lclass are the l-value versions.
+ * added: documented the -html option for xml_grep, that allows processing
+ HTML input
+ * added: the -Tidy option to xml_grep, that uses HTML::Tidy to convert HTML
+ to XML
+
+-------------------------------------------------------------------
+Thu Dec 16 13:39:34 CET 2010 - [email protected]
+
+- update to 3.37
+ *fixed: more tests fixed for HTML::TreeBuilder, hopefully
+ will pass now
+
+-------------------------------------------------------------------
+Wed Dec 1 13:36:22 UTC 2010 - [email protected]
+
+- switch to perl_requires macro
+
+-------------------------------------------------------------------
+Mon Nov 29 18:32:30 UTC 2010 - [email protected]
+
+- remove /var/adm/perl-modules
+
+-------------------------------------------------------------------
+Thu Oct 7 18:13:15 CEST 2010 - [email protected]
+
+- update to 3.36
+ * bugfixes
+
+-------------------------------------------------------------------
+Fri Jul 16 15:13:02 CEST 2010 - [email protected]
+
+- update to 3.35
+ * bugfixes
+
+-------------------------------------------------------------------
+Mon Jan 25 13:41:30 CET 2010 - [email protected]
+
+- update to 3.34
+ * bugfixes, test suite fixes
+
+-------------------------------------------------------------------
+Wed Nov 21 10:57:58 CET 2007 - [email protected]
+
+- update to 3.32
+ * bugfixes, test fixes
+ * fixed a couple of bugs in namespace handling
+ * added the XML::Twig::Elt fields method which returns a list of
+ fields
+ * added the normalize method in XML::Twig and XML::Twig::Elt
+ * added the indented_a / cvs format for pretty_print,
+ * Added the XML::Twig method finish_now that terminates parsing
+ immediately, without checking the rest of the XML.
+ * HTML parsing improved: XML::Twig now tries to find the proper
+ encoding for the document
+
+-------------------------------------------------------------------
+Thu Oct 18 16:55:24 CEST 2007 - [email protected]
+
+- package created (version 3.29) [#297511]
+
New:
----
Twig_pm.slow.patch
XML-Twig-3.39.tar.gz
perl-XML-Twig.changes
perl-XML-Twig.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XML-Twig.spec ++++++
#
# spec file for package perl-XML-Twig
#
# Copyright (c) 2013 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/
#
Name: perl-XML-Twig
Version: 3.39
Release: 0
Summary: Tree interface to XML documents
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/XML::Twig
# http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-Twig-%{version}.tar.gz
Source: XML-Twig-%{version}.tar.gz
#PATCH-FIX_openSUSE: bnc#789917
Patch0: Twig_pm.slow.patch
BuildRequires: perl-XML-Parser
BuildRequires: perl-macros
Requires: perl-XML-Parser
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
XML::Twig is (yet another!) XML transformation module.
Its strong points: can be used to process huge documents while still
being in tree mode; not bound by DOM or SAX, so it is very perlish and
offers a very comprehensive set of methods; simple to use; DWIMs as
much as possible
What it doesn't offer: full SAX support (it can export SAX, but only
reads XML), full XPath support (unless you use XML::Twig::XPath), nor
DOM support.
Other drawbacks: it is a big module, and with over 500 methods
available it can be a bit overwhelming. A good starting point is the
tutorial at http://xmltwig.com/xmltwig/tutorial/index.html. In fact the
whole XML::Twig page at http://xmltwig.com/xmltwig/ has plenty of
information to get you started with XML::Twig
%prep
%setup -q -n XML-Twig-%{version}
%patch0
%build
perl Makefile.PL
make
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
%{?buildroot:rm -rf %{buildroot}}
%files
%defattr(-,root,root)
%doc Changes README
%dir %{perl_vendorlib}/XML
%{perl_vendorlib}/XML/Twig.pm
%{perl_vendorlib}/XML/Twig
%{_bindir}/xml_grep
%{_bindir}/xml_merge
%{_bindir}/xml_pp
%{_bindir}/xml_spellcheck
%{_bindir}/xml_split
%doc %{_mandir}/man1/xml_*.1%{ext_man}
%doc %{_mandir}/man3/XML::Twig.%{perl_man3ext}%{ext_man}
%changelog
++++++ Twig_pm.slow.patch ++++++
Index: Twig_pm.slow
===================================================================
--- Twig_pm.slow.orig
+++ Twig_pm.slow
@@ -7284,13 +7284,13 @@ sub mark
{ $text= pop @matches;
if( $previous_match)
{ # match, not the first one, create a new text ($gi) element
- _utf8_ify( $pre_match) if( $[ < 5.010);
+ _utf8_ify( $pre_match) if( $] < 5.010);
$elt= $elt->insert_new_elt( after => $gi, $pre_match);
push @result, $elt if( $return_all);
}
else
{ # first match in $elt, re-use $elt for the first sub-string
- _utf8_ify( $pre_match) if( $[ < 5.010);
+ _utf8_ify( $pre_match) if( $] < 5.010);
$elt->set_text( $pre_match);
$previous_match++; # store the fact that there
was a match
push @result, $elt if( $return_all);
@@ -7302,7 +7302,7 @@ sub mark
my $i=0;
foreach my $match (@matches)
{ # create new element, text is the match
- _utf8_ify( $match) if( $[ < 5.010);
+ _utf8_ify( $match) if( $] < 5.010);
my $tag = $tags[$i]->{tag};
my $atts = \%{$tags[$i]->{atts}} || {};
$elt= $elt->insert_new_elt( after => $tag, $atts, $match);
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]