Hello community,

here is the log from the commit of package perl-HTML-Tree for openSUSE:Factory
checked in at Sun Feb 27 13:52:27 CET 2011.



--------
--- perl-HTML-Tree/perl-HTML-Tree.changes       2011-01-20 11:52:57.000000000 
+0100
+++ perl-HTML-Tree/perl-HTML-Tree.changes       2011-02-25 14:09:40.000000000 
+0100
@@ -1,0 +2,7 @@
+Fri Feb 25 13:06:03 UTC 2011 - [email protected]
+
+- recreated by cpanspec 1.78.03
+  o fix deps
+- noarch pkg
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-HTML-Tree.spec ++++++
--- /var/tmp/diff_new_pack.rxx6xu/_old  2011-02-27 13:47:50.000000000 +0100
+++ /var/tmp/diff_new_pack.rxx6xu/_new  2011-02-27 13:47:50.000000000 +0100
@@ -15,60 +15,99 @@
 # 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 
-Release:        1
-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/
+Release:        7
+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.
+
+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
 
-Authors:
---------
-    Sean M. Burke <[email protected]>
+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


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to