diff --git a/perl-HTML-Tree.spec b/perl-HTML-Tree.spec
index 54d83ed..b88d183 100644
--- a/perl-HTML-Tree.spec
+++ b/perl-HTML-Tree.spec
@@ -2,7 +2,7 @@
Name: perl-HTML-Tree
Version: 5.03
-Release: 1mamba
+Release: 2mamba
Summary: HTML::Tree - build and scan parse-trees of HTML
Group: System/Libraries/Perl
Vendor: openmamba
@@ -11,6 +11,11 @@ Packager: Silvan Calarco
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/HTML-Tree-%{version}.tar.gz
License: GPL, Artistic
+## AUTOBUILDREQ-BEGIN
+BuildRequires: perl-HTML-Parser
+BuildRequires: perl-HTML-Tagset
+BuildRequires: perl-devel
+## AUTOBUILDREQ-END
BuildRequires: perl(HTML::Parser)
BuildRequires: perl(HTML::Tagset)
BuildRequires: perl(Module::Build)
@@ -33,7 +38,10 @@ creating, and extracting information from HTML syntax trees; there is also relev
%build
%{__perl} Build.PL installdirs=vendor
./Build
+%ifarch x86_64
+# fails on x86
./Build test
+%endif
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@@ -57,6 +65,9 @@ done
#%doc Changes README TODO
%changelog
+* Fri Nov 11 2016 Silvan Calarco 5.03-2mamba
+- rebuilt with perl 5.24
+
* Sat Apr 27 2013 Automatic Build System 5.03-1mamba
- update to 5.03