diff --git a/XML-Twig-3.42.tar.gz b/XML-Twig-3.42.tar.gz
deleted file mode 100644
index 8563f75..0000000
--- a/XML-Twig-3.42.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7e64c2bfd8c3336e2550e1b5db0b83dcbe706f6176d440dd0b9942c3e2cbd99f
-size 388699
diff --git a/XML-Twig-3.44.tar.gz b/XML-Twig-3.44.tar.gz
new file mode 100644
index 0000000..6950c77
--- /dev/null
+++ b/XML-Twig-3.44.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2651c16211e2c97dc7f274d51700816a958b72165cbfdd8f731737825b2b20ba
+size 390219
diff --git a/perl-XML-Twig.changes b/perl-XML-Twig.changes
index d729989..44c8086 100644
--- a/perl-XML-Twig.changes
+++ b/perl-XML-Twig.changes
@@ -1,3 +1,25 @@
+-------------------------------------------------------------------
+Tue Jun 4 17:10:56 UTC 2013 - coolo@suse.com
+
+- updated to 3.44
+ # minor maintenance release
+ added: XML::Twig::Elt new method now acccepts literal content, eg
+ my $e= XML::Twig::Elt->new( '
');
+ fixed: merge had some problems dealing with embedded comments
+ improved: more tests
+
+ improved: docs for parse, see RT #78877
+ https://rt.cpan.org/Ticket/Display.html?id=78877
+ fixed: xml_pp -i now preserves the permissions of the
+ original file, see RT #81165
+ https://rt.cpan.org/Ticket/Display.html?id=81165
+ reported by Alberto Simoes
+ fixed: RT #80503 Newlines in attribute values
+ https://rt.cpan.org/Ticket/Display.html?id=80503
+ reported (and explained) by Ambrus Zsban: \r, \n
+ and \n explicitely set in attribute values should
+ be escaped (with ;) when output
+
-------------------------------------------------------------------
Mon Apr 15 10:29:16 UTC 2013 - idonmez@suse.com
diff --git a/perl-XML-Twig.spec b/perl-XML-Twig.spec
index d105911..9a45381 100644
--- a/perl-XML-Twig.spec
+++ b/perl-XML-Twig.spec
@@ -17,13 +17,21 @@
Name: perl-XML-Twig
-Version: 3.42
+Version: 3.44
Release: 0
-Summary: Tree interface to XML documents
-License: GPL-1.0+ or Artistic-1.0
+%define cpan_name XML-Twig
+Summary: A perl module for processing huge XML documents in tree mode.
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/XML::Twig
-Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-Twig-%{version}.tar.gz
+Url: http://search.cpan.org/dist/XML-Twig/
+Source: http://www.cpan.org/authors/id/M/MI/MIROD/%{cpan_name}-%{version}.tar.gz
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: perl
+BuildRequires: perl-macros
+BuildRequires: perl(XML::Parser) >= 2.23
+#BuildRequires: perl(xmlxpath_tools)
+Requires: perl(XML::Parser) >= 2.23
BuildRequires: expat
BuildRequires: perl-HTML-Tidy
BuildRequires: perl-IO-CaptureOutput
@@ -37,8 +45,6 @@ BuildRequires: perl-XML-SAX-Writer
BuildRequires: perl-XML-Simple
BuildRequires: perl-XML-XPath
BuildRequires: perl-XML-XPathEngine
-BuildRequires: perl-macros
-
Requires: expat
Requires: perl-XML-Parser
Requires: perl(Encode)
@@ -49,53 +55,43 @@ Recommends: perl-Tie-IxHash
Recommends: perl-XML-XPath
Recommends: perl-XML-XPathEngine
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
-XML::Twig is (yet another!) XML transformation module.
+This module provides a way to process XML documents. It is build on top of
+'XML::Parser'.
-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
+The module offers a tree interface to the document, while allowing you to
+output the parts of it that have been completely processed.
-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.
+It allows minimal resource (CPU and memory) usage by building the tree only
+for the parts of the documents that need actual processing, through the use
+of the 'the twig_roots manpage ' and 'the twig_print_outside_roots manpage
+' options. The 'the finish manpage ' and 'the finish_print manpage '
+methods also help to increase performances.
-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
+XML::Twig tries to make simple things easy so it tries its best to takes
+care of a lot of the (usually) annoying (but sometimes necessary) features
+that come with XML and XML::Parser.
%prep
-%setup -q -n XML-Twig-%{version}
+%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
%build
-perl Makefile.PL
-make
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
%check
-make test
+%{__make} test
%install
%perl_make_install
%perl_process_packlist
+%perl_gen_filelist
-%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}
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Changes check_optional_modules filter_for_5.005 README speedup Twig_pm.slow
%changelog