diff --git a/perl-HTML-Tree.changes b/perl-HTML-Tree.changes
index d2f4268..ba034ed 100644
--- a/perl-HTML-Tree.changes
+++ b/perl-HTML-Tree.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Fri Feb 25 13:06:03 UTC 2011 - chris@computersalat.de
+
+- recreated by cpanspec 1.78.03
+ o fix deps
+- noarch pkg
+
-------------------------------------------------------------------
Thu Jan 20 10:49:19 UTC 2011 - vcizek@novell.com
diff --git a/perl-HTML-Tree.spec b/perl-HTML-Tree.spec
index 4a96085..2fe7c6e 100644
--- a/perl-HTML-Tree.spec
+++ b/perl-HTML-Tree.spec
@@ -1,5 +1,5 @@
#
-# spec file for package perl-HTML-Tree (Version 4.0 )
+# spec file for package perl-HTML-Tree
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -15,60 +15,98 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
+%bcond_with opt
Name: perl-HTML-Tree
-BuildRequires: perl-HTML-Parser
-BuildRequires: perl-macros
-License: Artistic ; GPLv2+ ; Other uncritical OpenSource License
-Group: Development/Libraries/Perl
-Requires: perl-HTML-Parser perl-HTML-Tagset
-AutoReqProv: on
-Summary: Modules for representing, creating, and extracting information from HTML syntax trees
-Version: 4.1
+Version: 4.1
Release: 2
-Source: http://search.cpan.org/CPAN/authors/id/P/PE/PETEK/HTML-Tree-%{version}.tar.bz2
-Url: http://search.cpan.org/CPAN/authors/id/P/PE/PETEK/
+License: GPL+ or Artistic
+%define cpan_name HTML-Tree
+Summary: Build and scan parse-trees of HTML
+Url: http://search.cpan.org/dist/HTML-Tree/
+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.bz2
+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::Parser) >= 3.46
+BuildRequires: perl(HTML::Tagset) >= 3.02
+Requires: perl(HTML::Parser) >= 3.46
+Requires: perl(HTML::Tagset) >= 3.02
%{perl_requires}
%description
-This distribution contains a suite of modules for representing,
-creating, and extracting information from HTML syntax trees; there is
-also relevent documentation. These modules used to be part of the
-libwww-perl distribution, but are now unbundled in order to facilitate
-a separate development track.
+HTML-Tree is a suite of Perl modules for making parse trees out of HTML
+source. It consists of mainly two modules, whose documentation you should
+refer to: HTML::TreeBuilder and HTML::Element.
+HTML::TreeBuilder is the module that builds the parse trees. (It uses
+HTML::Parser to do the work of breaking the HTML up into tokens.)
+The tree that TreeBuilder builds for you is made up of objects of the class
+HTML::Element.
-Authors:
---------
- Sean M. Burke
+If you find that you do not properly understand the documentation for
+HTML::TreeBuilder and HTML::Element, it may be because you are unfamiliar
+with tree-shaped data structures, or with object-oriented modules in
+general. Sean Burke has written some articles for _The Perl Journal_
+('www.tpj.com') that seek to provide that background. The full text of
+those articles is contained in this distribution, as:
+
+* HTML::Tree::AboutObjects
+
+ "User's View of Object-Oriented Modules" from TPJ17.
+
+* HTML::Tree::AboutTrees
+
+ "Trees" from TPJ18
+
+* HTML::Tree::Scanning
+
+ "Scanning HTML" from TPJ19
+
+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 -n HTML-Tree-%{version} -q
+%setup -q -n %{cpan_name}-%{version}
%build
-perl Makefile.PL
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=vendor
+./Build build flags=%{?_smp_mflags}
%check
-make test
+./Build test
%install
-make DESTDIR=$RPM_BUILD_ROOT install_vendor
-%perl_process_packlist
+./Build install destdir=%{buildroot} create_packlist=0
+%perl_gen_filelist
%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
-%files
-%defattr(-, root, root)
-%{perl_vendorlib}/HTML/*
-%{perl_vendorarch}/auto/*
-%{_bindir}/htmltree
-%doc %{_mandir}/man?/*
-%doc README Changes
+%files -f %{name}.files
+%defattr(-,root,root)
+%doc Changes README TODO
%changelog