diff --git a/HTML-Tree-4.2.tar.gz b/HTML-Tree-4.2.tar.gz
deleted file mode 100644
index fb40973..0000000
--- a/HTML-Tree-4.2.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:80e4e3caa5e0e025dee5ed383a8d4cc7479ae4802184c4757dafd147a8fca7c9
-size 155774
diff --git a/HTML-Tree-5.03.tar.gz b/HTML-Tree-5.03.tar.gz
new file mode 100644
index 0000000..51edf80
--- /dev/null
+++ b/HTML-Tree-5.03.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7d6d73fca622aa74855a8b088faa39454a0f91b7af83c9ec0387f01eefc2148f
+size 147857
diff --git a/perl-HTML-Tree.changes b/perl-HTML-Tree.changes
index 4b8ac35..afe32ba 100644
--- a/perl-HTML-Tree.changes
+++ b/perl-HTML-Tree.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Tue Apr 14 17:56:13 UTC 2015 - coolo@suse.com
+
+- updated to 5.03
+ see /usr/share/doc/packages/perl-HTML-Tree/Changes
+
-------------------------------------------------------------------
Fri Nov 18 11:07:11 UTC 2011 - coolo@suse.com
diff --git a/perl-HTML-Tree.spec b/perl-HTML-Tree.spec
index f8bd731..9ab9c05 100644
--- a/perl-HTML-Tree.spec
+++ b/perl-HTML-Tree.spec
@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Tree
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,34 +16,29 @@
#
-%bcond_with opt
-
Name: perl-HTML-Tree
-Version: 4.2
-Release: 1
-License: GPL+ or Artistic
+Version: 5.03
+Release: 0
%define cpan_name HTML-Tree
-Summary: Build and scan parse-trees of HTML
-Url: http://search.cpan.org/dist/HTML-Tree/
+Summary: build and scan parse-trees of HTML
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-#Source: http://www.cpan.org/authors/id/J/JF/JFEARN/HTML-Tree-4.1.tar.gz
-Source: %{cpan_name}-%{version}.tar.gz
+Url: http://search.cpan.org/dist/HTML-Tree/
+Source: http://www.cpan.org/authors/id/C/CJ/CJM/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
-BuildRequires: perl(Module::Build)
-BuildRequires: perl(Test::Exception)
-BuildRequires: perl(Test::More)
BuildRequires: perl-macros
-%if 0%{?with opt}
-BuildRequires: perl(Test::Perl::Critic)
-BuildRequires: perl(Test::Pod) >= 1.14
-BuildRequires: perl(Test::Pod::Coverage) >= 1.04
-%endif
+BuildRequires: perl(HTML::Entities)
BuildRequires: perl(HTML::Parser) >= 3.46
BuildRequires: perl(HTML::Tagset) >= 3.02
+BuildRequires: perl(Module::Build) >= 0.2808
+BuildRequires: perl(Test::Fatal)
+Requires: perl(HTML::Entities)
Requires: perl(HTML::Parser) >= 3.46
Requires: perl(HTML::Tagset) >= 3.02
+Recommends: perl(HTML::FormatText)
+Recommends: perl(LWP::UserAgent) >= 5.815
%{perl_requires}
%description
@@ -80,15 +75,6 @@ Readers already familiar with object-oriented modules and tree-shaped data
structures should read just the last article. Readers without that
background should read the first, then the second, and then the third.
-new
- Redirects to HTML::TreeBuilder::new
-
-new_from_file
- Redirects to HTML::TreeBuilder::new_from_file
-
-new_from_content
- Redirects to HTML::TreeBuilder::new_from_content
-
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -103,11 +89,8 @@ new_from_content
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
-%defattr(-,root,root)
-%doc Changes README TODO
+%defattr(-,root,root,755)
+%doc Changes LICENSE README TODO
%changelog