Hello community,
here is the log from the commit of package perl-HTML-Tree for openSUSE:Factory
checked in at Fri Apr 8 08:57:40 CEST 2011.
--------
--- perl-HTML-Tree/perl-HTML-Tree.changes 2011-02-25 14:09:40.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-HTML-Tree/perl-HTML-Tree.changes 2011-04-07 10:41:19.000000000 +0200
@@ -1,0 +2,12 @@
+Thu Apr 7 08:32:33 UTC 2011 - vcizek@novell.com
+
+- update to 4.2
+ [FIXES]
+ * Tied all $VERSION to HTML::Element to ensure latest package is used
+ for all modules. RT #66110
+ * Moved perlcritic tests to xt/author
+ [DOCUMENTATION]
+ * Added text and link to "Perl and LWP" book.
+ * Fix Authors in all PM files.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
HTML-Tree-4.1.tar.bz2
New:
----
HTML-Tree-4.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-HTML-Tree.spec ++++++
--- /var/tmp/diff_new_pack.OLubqw/_old 2011-04-08 08:57:16.000000000 +0200
+++ /var/tmp/diff_new_pack.OLubqw/_new 2011-04-08 08:57:16.000000000 +0200
@@ -19,8 +19,8 @@
%bcond_with opt
Name: perl-HTML-Tree
-Version: 4.1
-Release: 7
+Version: 4.2
+Release: 1
License: GPL+ or Artistic
%define cpan_name HTML-Tree
Summary: Build and scan parse-trees of HTML
++++++ HTML-Tree-4.1.tar.bz2 -> HTML-Tree-4.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/Build.PL new/HTML-Tree-4.2/Build.PL
--- old/HTML-Tree-4.1/Build.PL 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/Build.PL 2011-04-06 10:37:54.000000000 +0200
@@ -6,14 +6,29 @@
my $class = Module::Build->subclass(
class => 'My::Builder',
code => q{
+ sub ACTION_authortest {
+ my ($self) = @_;
+ $self->depends_on('build');
+ $self->depends_on('manifest');
+ $self->depends_on('distmeta');
+ $self->test_files( qw< t xt/author > );
+ $self->recursive_test_files(1);
+ $self->depends_on('test');
+ return;
+ }
+ sub ACTION_distdir {
+ my ($self) = @_;
+ $self->depends_on('authortest');
+ return $self->SUPER::ACTION_distdir();
+ }
}
);
my $builder = $class->new(
module_name => 'HTML::Tree',
license => 'perl',
- dist_author => 'Jeff Fearn ',
- dist_version_from => 'lib/HTML/Tree.pm',
+ dist_author => 'Jeff Fearn ',
+ dist_version_from => 'lib/HTML/Element.pm',
create_makefile_pl => 'traditional',
build_requires => {
'Module::Build' => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/Changes new/HTML-Tree-4.2/Changes
--- old/HTML-Tree-4.1/Changes 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/Changes 2011-04-06 10:37:54.000000000 +0200
@@ -1,4 +1,13 @@
Changelog for HTML-Tree
+4.2
+ [FIXES]
+ * Tied all $VERSION to HTML::Element to ensure latest package is used
+ for all modules. RT #66110
+ * Moved perlcritic tests to xt/author
+ [DOCUMENTATION]
+ * Added text and link to "Perl and LWP" book.
+ * Fix Authors is all PM files.
+
4.1 Mon Oct 25 2010
[FIXES]
* '/' is a valid attribute (pull from tokuhirom) (RT #61809)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/MANIFEST new/HTML-Tree-4.2/MANIFEST
--- old/HTML-Tree-4.1/MANIFEST 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/MANIFEST 2011-04-06 10:37:54.000000000 +0200
@@ -10,7 +10,9 @@
lib/HTML/Tree/AboutTrees.pod
lib/HTML/Tree/Scanning.pod
lib/HTML/TreeBuilder.pm
+Makefile.PL
MANIFEST
+META.yml
README
t/00system.t
t/assubs.t
@@ -31,9 +33,7 @@
t/subclass.t
t/tag-rendering.t
t/unicode.t
-t/zz_perlcritic.t
-t/zz_pod-coverage.t
-t/zz_pod.t
TODO
-META.yml
-Makefile.PL
+xt/author/zz_perlcritic.t
+xt/author/zz_pod-coverage.t
+xt/author/zz_pod.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/META.yml new/HTML-Tree-4.2/META.yml
--- old/HTML-Tree-4.1/META.yml 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/META.yml 2011-04-06 10:37:54.000000000 +0200
@@ -1,42 +1,44 @@
---
-name: HTML-Tree
-version: 4.1
+abstract: 'Class for objects that represent HTML elements'
author:
- - 'Jeff Fearn '
-abstract: build and scan parse-trees of HTML
-license: perl
-resources:
- license: http://dev.perl.org/licenses/
-requires:
- HTML::Parser: 3.46
- HTML::Tagset: 3.02
- perl: 5.8.0
+ - 'Jeff Fearn '
build_requires:
HTML::Parser: 3.46
HTML::Tagset: 3.02
Module::Build: 0
Test::Exception: 0
Test::More: 0
+configure_requires:
+ Module::Build: 0.36
+generated_by: 'Module::Build version 0.3603'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: HTML-Tree
provides:
HTML::AsSubs:
file: lib/HTML/AsSubs.pm
- version: 1.16
+ version: 4.2
HTML::Element:
file: lib/HTML/Element.pm
- version: 4.1
+ version: 4.2
HTML::Element::traverse:
file: lib/HTML/Element/traverse.pm
- version: 0
+ version: 4.2
HTML::Parse:
file: lib/HTML/Parse.pm
- version: 2.71
+ version: 4.2
HTML::Tree:
file: lib/HTML/Tree.pm
- version: 4.1
+ version: 4.2
HTML::TreeBuilder:
file: lib/HTML/TreeBuilder.pm
- version: 4.1
-generated_by: Module::Build version 0.32
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
+ version: 4.2
+requires:
+ HTML::Parser: 3.46
+ HTML::Tagset: 3.02
+ perl: v5.8.0
+resources:
+ license: http://dev.perl.org/licenses/
+version: 4.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/Makefile.PL new/HTML-Tree-4.2/Makefile.PL
--- old/HTML-Tree-4.1/Makefile.PL 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/Makefile.PL 2011-04-06 10:37:54.000000000 +0200
@@ -1,14 +1,15 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.32
-require 5.8.0;
+# Note: this file was auto-generated by Module::Build::Compat version 0.3603
+require 5.008000;
use ExtUtils::MakeMaker;
WriteMakefile
(
+ 'PL_FILES' => {},
'INSTALLDIRS' => 'site',
'NAME' => 'HTML::Tree',
'EXE_FILES' => [
'htmltree'
],
- 'VERSION_FROM' => 'lib/HTML/Tree.pm',
+ 'VERSION_FROM' => 'lib/HTML/Element.pm',
'PREREQ_PM' => {
'Test::More' => 0,
'Test::Exception' => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/lib/HTML/AsSubs.pm new/HTML-Tree-4.2/lib/HTML/AsSubs.pm
--- old/HTML-Tree-4.1/lib/HTML/AsSubs.pm 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/lib/HTML/AsSubs.pm 2011-04-06 10:37:54.000000000 +0200
@@ -78,7 +78,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = '1.16';
+$VERSION = 4.2;
# Problem: exports so damned much. Has no concept of "export only HTML4
# elements". TODO:?? make something that make functions that just
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/lib/HTML/Element/traverse.pm new/HTML-Tree-4.2/lib/HTML/Element/traverse.pm
--- old/HTML-Tree-4.1/lib/HTML/Element/traverse.pm 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/lib/HTML/Element/traverse.pm 2011-04-06 10:37:54.000000000 +0200
@@ -7,7 +7,8 @@
use strict;
use HTML::Element ();
-$VERSION = $VERSION = $HTML::Element::VERSION;
+use vars qw( $VERSION );
+$VERSION = 4.2;
1;
__END__
@@ -326,7 +327,15 @@
Copyright 2000,2001 Sean M. Burke
=head1 AUTHOR
+Current Author:
+ Jeff Fearn C<< >>.
-Sean M. Burke, E<lt>sburke@cpan.orgE<gt>
+Original HTML-Tree author:
+ Gisle Aas.
+
+Former Authors:
+ Sean M. Burke.
+ Andy Lester.
+ Pete Krawczyk C<< >>.
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/lib/HTML/Element.pm new/HTML-Tree-4.2/lib/HTML/Element.pm
--- old/HTML-Tree-4.1/lib/HTML/Element.pm 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/lib/HTML/Element.pm 2011-04-06 10:37:54.000000000 +0200
@@ -6,7 +6,7 @@
=head1 VERSION
-Version 4.1
+Version 4.2
=cut
@@ -17,7 +17,7 @@
use integer; # vroom vroom!
use vars qw( $VERSION );
-$VERSION = '4.1';
+$VERSION = 4.2;
# This contorls encoding entities on output.
# When set entities won't be re-encoded.
@@ -4193,9 +4193,16 @@
=head1 AUTHOR
-Currently maintained by Pete Krawczyk C<< >>
+Current Author:
+ Jeff Fearn C<< >>.
-Original authors: Gisle Aas, Sean Burke and Andy Lester.
+Original HTML-Tree author:
+ Gisle Aas.
+
+Former Authors:
+ Sean M. Burke.
+ Andy Lester.
+ Pete Krawczyk C<< >>.
Thanks to Mark-Jason Dominus for a POD suggestion.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/lib/HTML/Parse.pm new/HTML-Tree-4.2/lib/HTML/Parse.pm
--- old/HTML-Tree-4.1/lib/HTML/Parse.pm 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/lib/HTML/Parse.pm 2011-04-06 10:37:54.000000000 +0200
@@ -97,10 +97,16 @@
merchantability or fitness for a particular purpose.
=head1 AUTHOR
+Current Author:
+ Jeff Fearn C<< >>.
-Currently maintained by Pete Krawczyk C<< >>
+Original HTML-Tree author:
+ Gisle Aas.
-Original authors: Gisle Aas, Sean Burke and Andy Lester.
+Former Authors:
+ Sean M. Burke.
+ Andy Lester.
+ Pete Krawczyk C<< >>.
=cut
@@ -123,7 +129,7 @@
require HTML::TreeBuilder;
-$VERSION = '2.71';
+$VERSION = 4.2;
sub parse_html {
my $p = $_[1];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/lib/HTML/Tree/Scanning.pod new/HTML-Tree-4.2/lib/HTML/Tree/Scanning.pod
--- old/HTML-Tree-4.1/lib/HTML/Tree/Scanning.pod 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/lib/HTML/Tree/Scanning.pod 2011-04-06 10:37:54.000000000 +0200
@@ -18,6 +18,11 @@
courtesy of Jon Orwant and The Perl Journal. This document may be
distributed under the same terms as Perl itself.
+(Note that this is discussed in chapters 6 through 10 of the
+book I<Perl and LWP> Lhttp://lwp.interglacial.com/ which
+was written after the following documentation, and which is
+available free online.)
+
=head1 Scanning HTML
-- Sean M. Burke
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/lib/HTML/Tree.pm new/HTML-Tree-4.2/lib/HTML/Tree.pm
--- old/HTML-Tree-4.1/lib/HTML/Tree.pm 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/lib/HTML/Tree.pm 2011-04-06 10:37:54.000000000 +0200
@@ -6,7 +6,7 @@
=head1 VERSION
-4.1
+4.2
=cut
@@ -18,7 +18,7 @@
use HTML::TreeBuilder ();
use vars qw( $VERSION );
-$VERSION = '4.1';
+$VERSION = 4.2;
=head1 SYNOPSIS
@@ -55,6 +55,9 @@
goto &HTML::TreeBuilder::new_from_content;
}
+1;
+__END__
+
=head1 DESCRIPTION
HTML-Tree is a suite of Perl modules for making parse trees out of
@@ -182,9 +185,16 @@
=head1 AUTHOR
-Original HTML-Tree author Gisle Aas. Handed off to Sean M. Burke.
-and Andy Lester. Currently maintained by Pete Krawczyk
-C<< >>.
+Current Author:
+ Jeff Fearn C<< >>.
+
+Original HTML-Tree author:
+ Gisle Aas.
+
+Former Authors:
+ Sean M. Burke.
+ Andy Lester.
+ Pete Krawczyk C<< >>.
=head1 COPYRIGHT
@@ -206,4 +216,3 @@
=cut
-1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/lib/HTML/TreeBuilder.pm new/HTML-Tree-4.2/lib/HTML/TreeBuilder.pm
--- old/HTML-Tree-4.1/lib/HTML/TreeBuilder.pm 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/lib/HTML/TreeBuilder.pm 2011-04-06 10:37:54.000000000 +0200
@@ -5,7 +5,6 @@
use integer; # vroom vroom!
use Carp ();
use vars qw(@ISA $VERSION $DEBUG);
-$VERSION = '4.1';
#---------------------------------------------------------------------------
# Make a 'DEBUG' constant...
@@ -59,6 +58,7 @@
use HTML::Element ();
use HTML::Parser ();
@ISA = qw(HTML::Element HTML::Parser);
+$VERSION = 4.2;
# This looks schizoid, I know.
# It's not that we ARE an element AND a parser.
@@ -2143,8 +2143,16 @@
=head1 AUTHOR
-Currently maintained by Pete Krawczyk C<< >>
+Current Author:
+ Jeff Fearn C<< >>.
+
+Original HTML-Tree author:
+ Gisle Aas.
+
+Former Authors:
+ Sean M. Burke.
+ Andy Lester.
+ Pete Krawczyk C<< >>.
-Original authors: Gisle Aas, Sean Burke and Andy Lester.
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/t/zz_perlcritic.t new/HTML-Tree-4.2/t/zz_perlcritic.t
--- old/HTML-Tree-4.1/t/zz_perlcritic.t 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/t/zz_perlcritic.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-#!perl -T
-
-use Test::More;
-
-eval "use Test::Perl::Critic";
-
-if ($@) {
- Test::More::plan( skip_all =>
- "Test::Perl::Critic required for testing PBP compliance" );
-}
-else {
- Test::Perl::Critic->import(
- -verbose => 8,
- -severity => 5,
-## This check fails to detect a package is modifying
-## objects of it's own class when passing objects in an array
- -exclude => ['ProhibitAccessOfPrivateData']
- );
-}
-
-all_critic_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/t/zz_pod-coverage.t new/HTML-Tree-4.2/t/zz_pod-coverage.t
--- old/HTML-Tree-4.1/t/zz_pod-coverage.t 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/t/zz_pod-coverage.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage"
- if $@;
-all_pod_coverage_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/t/zz_pod.t new/HTML-Tree-4.2/t/zz_pod.t
--- old/HTML-Tree-4.1/t/zz_pod.t 2010-10-25 14:45:51.000000000 +0200
+++ new/HTML-Tree-4.2/t/zz_pod.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/xt/author/zz_perlcritic.t new/HTML-Tree-4.2/xt/author/zz_perlcritic.t
--- old/HTML-Tree-4.1/xt/author/zz_perlcritic.t 1970-01-01 01:00:00.000000000 +0100
+++ new/HTML-Tree-4.2/xt/author/zz_perlcritic.t 2011-04-06 10:37:54.000000000 +0200
@@ -0,0 +1,21 @@
+#!perl -T
+
+use Test::More;
+
+eval "use Test::Perl::Critic";
+
+if ($@) {
+ Test::More::plan( skip_all =>
+ "Test::Perl::Critic required for testing PBP compliance" );
+}
+else {
+ Test::Perl::Critic->import(
+ -verbose => 8,
+ -severity => 5,
+## This check fails to detect a package is modifying
+## objects of it's own class when passing objects in an array
+ -exclude => ['ProhibitAccessOfPrivateData']
+ );
+}
+
+all_critic_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/xt/author/zz_pod-coverage.t new/HTML-Tree-4.2/xt/author/zz_pod-coverage.t
--- old/HTML-Tree-4.1/xt/author/zz_pod-coverage.t 1970-01-01 01:00:00.000000000 +0100
+++ new/HTML-Tree-4.2/xt/author/zz_pod-coverage.t 2011-04-06 10:37:54.000000000 +0200
@@ -0,0 +1,7 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage"
+ if $@;
+all_pod_coverage_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTML-Tree-4.1/xt/author/zz_pod.t new/HTML-Tree-4.2/xt/author/zz_pod.t
--- old/HTML-Tree-4.1/xt/author/zz_pod.t 1970-01-01 01:00:00.000000000 +0100
+++ new/HTML-Tree-4.2/xt/author/zz_pod.t 2011-04-06 10:37:54.000000000 +0200
@@ -0,0 +1,6 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod 1.14";
+plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+all_pod_files_ok();
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org