Hello community, here is the log from the commit of package perl-Test-Pod for openSUSE:Factory checked in at 2015-05-16 07:12:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-Pod (Old) and /work/SRC/openSUSE:Factory/.perl-Test-Pod.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Pod" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-Pod/perl-Test-Pod.changes 2013-06-14 16:47:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Test-Pod.new/perl-Test-Pod.changes 2015-05-16 07:12:39.000000000 +0200 @@ -1,0 +2,19 @@ +Wed May 13 12:59:29 UTC 2015 - [email protected] + +- updated to 1.49 + see /usr/share/doc/packages/perl-Test-Pod/Changes + + 1.49 2015-05-12T17:30:58Z + * Changed license in the README to "Same as Perl" to match the license + listed in `META.yml`, and in the POD as of v1.42. + * Tightened up the heuristic for matching Perl batch files to require + that the file end in `.bat`, as described in the documentation. + Patch from Luca Ferrari. + * Simplified some of the matching code. Patch from Luca Ferrari. + * Transferred ownership of the repository to the perl-pod organization on + GitHub. + * Removed the Pod testing test from the distribution. Seems silly for a + module designed for testing Pod, right? But it's considered best + practice to do Pod testing in development only, not in a release. + +------------------------------------------------------------------- Old: ---- Test-Pod-1.48.tar.gz New: ---- Test-Pod-1.49.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-Pod.spec ++++++ --- /var/tmp/diff_new_pack.1jfJvT/_old 2015-05-16 07:12:39.000000000 +0200 +++ /var/tmp/diff_new_pack.1jfJvT/_new 2015-05-16 07:12:39.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Test-Pod # -# Copyright (c) 2013 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 @@ -17,27 +17,23 @@ Name: perl-Test-Pod -Version: 1.48 +Version: 1.49 Release: 0 +#Upstream: Artistic-1.0 or GPL-1.0+ %define cpan_name Test-Pod -Summary: check for POD errors in files +Summary: Check for Pod Errors in Files License: Artistic-2.0 or GPL-2.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-Pod/ -Source: http://www.cpan.org/authors/id/D/DW/DWHEELER/%{cpan_name}-%{version}.tar.gz -# MANUAL LICENSE +Source0: http://www.cpan.org/authors/id/D/DW/DWHEELER/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.30 +BuildRequires: perl(Module::Build) >= 0.300000 BuildRequires: perl(Pod::Simple) >= 3.05 Requires: perl(Pod::Simple) >= 3.05 -BuildRequires: perl(File::Spec) -BuildRequires: perl(Test::More) >= 0.62 -Requires: perl(File::Spec) -Requires: perl(Test::Builder::Tester) >= 1.02 -Requires: perl(Test::More) >= 0.62 %{perl_requires} %description ++++++ Test-Pod-1.48.tar.gz -> Test-Pod-1.49.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Pod-1.48/.travis.yml new/Test-Pod-1.49/.travis.yml --- old/Test-Pod-1.48/.travis.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Pod-1.49/.travis.yml 2015-05-12 19:30:24.000000000 +0200 @@ -0,0 +1,10 @@ +language: perl +perl: + - "5.21" + - "5.20" + - "5.18" + - "5.16" + - "5.14" + - "5.12" + - "5.10" + - "5.8" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Pod-1.48/Build.PL new/Test-Pod-1.49/Build.PL --- old/Test-Pod-1.48/Build.PL 2013-05-06 06:47:26.000000000 +0200 +++ new/Test-Pod-1.49/Build.PL 2015-05-12 19:30:24.000000000 +0200 @@ -5,6 +5,7 @@ Module::Build->new( module_name => 'Test::Pod', license => 'perl', + dist_author => 'David E. Wheeler <[email protected]>', configure_requires => { 'Module::Build' => '0.30', }, create_makefile_pl => 'traditional', build_requires => { @@ -21,8 +22,8 @@ meta_merge => { resources => { homepage => 'http://search.cpan.org/dist/Test-Pod/', - bugtracker => 'http://github.com/theory/test-pod/issues/', - repository => 'http://github.com/theory/test-pod/tree/', + bugtracker => 'http://github.com/perl-pod/test-pod/issues/', + repository => 'http://github.com/perl-pod/test-pod', } }, )->create_build_script; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Pod-1.48/Changes new/Test-Pod-1.49/Changes --- old/Test-Pod-1.48/Changes 2013-05-06 06:47:26.000000000 +0200 +++ new/Test-Pod-1.49/Changes 2015-05-12 19:30:24.000000000 +0200 @@ -1,5 +1,18 @@ Change log for Test::Pod +1.49 2015-05-12T17:30:58Z + * Changed license in the README to "Same as Perl" to match the license + listed in `META.yml`, and in the POD as of v1.42. + * Tightened up the heuristic for matching Perl batch files to require + that the file end in `.bat`, as described in the documentation. + Patch from Luca Ferrari. + * Simplified some of the matching code. Patch from Luca Ferrari. + * Transferred ownership of the repository to the perl-pod organization on + GitHub. + * Removed the Pod testing test from the distribution. Seems silly for a + module designed for testing Pod, right? But it's considered best + practice to do Pod testing in development only, not in a release. + 1.48 - 2013-05-06T04:47:00Z * Fixed test failure with versions of Pod::Simple lower than 3.24. Thanks to Martin Holste and Tatsuhiko Miyagawa for the reports. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Pod-1.48/MANIFEST new/Test-Pod-1.49/MANIFEST --- old/Test-Pod-1.48/MANIFEST 2013-05-06 06:47:26.000000000 +0200 +++ new/Test-Pod-1.49/MANIFEST 2015-05-12 19:30:24.000000000 +0200 @@ -1,3 +1,4 @@ +.travis.yml Build.PL Changes lib/Test/Pod.pm @@ -16,7 +17,6 @@ t/item-ordering.t t/load.t t/missing-file.t -t/pod.t t/pod/good-pod-script t/pod/good-pod-script.bat t/pod/good.pod diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Pod-1.48/META.json new/Test-Pod-1.49/META.json --- old/Test-Pod-1.48/META.json 2013-05-06 06:47:26.000000000 +0200 +++ new/Test-Pod-1.49/META.json 2015-05-12 19:30:24.000000000 +0200 @@ -1,10 +1,10 @@ { "abstract" : "check for POD errors in files", "author" : [ - "Currently maintained by David E. Wheeler, C<< <[email protected]> >>." + "David E. Wheeler <[email protected]>" ], "dynamic_config" : 1, - "generated_by" : "Module::Build version 0.4003, CPAN::Meta::Converter version 2.120921", + "generated_by" : "Module::Build version 0.421", "license" : [ "perl_5" ], @@ -38,21 +38,21 @@ "provides" : { "Test::Pod" : { "file" : "lib/Test/Pod.pm", - "version" : "1.48" + "version" : "1.49" } }, "release_status" : "stable", "resources" : { "bugtracker" : { - "web" : "http://github.com/theory/test-pod/issues/" + "web" : "http://github.com/perl-pod/test-pod/issues/" }, "homepage" : "http://search.cpan.org/dist/Test-Pod/", "license" : [ "http://dev.perl.org/licenses/" ], "repository" : { - "url" : "http://github.com/theory/test-pod/tree/" + "url" : "http://github.com/perl-pod/test-pod" } }, - "version" : "1.48" + "version" : "1.49" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Pod-1.48/META.yml new/Test-Pod-1.49/META.yml --- old/Test-Pod-1.48/META.yml 2013-05-06 06:47:26.000000000 +0200 +++ new/Test-Pod-1.49/META.yml 2015-05-12 19:30:24.000000000 +0200 @@ -1,32 +1,32 @@ --- abstract: 'check for POD errors in files' author: - - 'Currently maintained by David E. Wheeler, C<< <[email protected]> >>.' + - 'David E. Wheeler <[email protected]>' build_requires: - File::Spec: 0 - Pod::Simple: 3.05 - Test::More: 0.62 + File::Spec: '0' + Pod::Simple: '3.05' + Test::More: '0.62' configure_requires: - Module::Build: 0.30 + Module::Build: '0.30' dynamic_config: 1 -generated_by: 'Module::Build version 0.4003, CPAN::Meta::Converter version 2.120921' +generated_by: 'Module::Build version 0.421, CPAN::Meta::Converter version 2.143240' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Test-Pod provides: Test::Pod: file: lib/Test/Pod.pm - version: 1.48 + version: '1.49' requires: - File::Find: 0 - Pod::Simple: 3.05 - Test::Builder::Tester: 1.02 - Test::More: 0.62 + File::Find: '0' + Pod::Simple: '3.05' + Test::Builder::Tester: '1.02' + Test::More: '0.62' resources: - bugtracker: http://github.com/theory/test-pod/issues/ + bugtracker: http://github.com/perl-pod/test-pod/issues/ homepage: http://search.cpan.org/dist/Test-Pod/ license: http://dev.perl.org/licenses/ - repository: http://github.com/theory/test-pod/tree/ -version: 1.48 + repository: http://github.com/perl-pod/test-pod +version: '1.49' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Pod-1.48/Makefile.PL new/Test-Pod-1.49/Makefile.PL --- old/Test-Pod-1.48/Makefile.PL 2013-05-06 06:47:26.000000000 +0200 +++ new/Test-Pod-1.49/Makefile.PL 2015-05-12 19:30:24.000000000 +0200 @@ -1,4 +1,4 @@ -# Note: this file was auto-generated by Module::Build::Compat version 0.4003 +# Note: this file was auto-generated by Module::Build::Compat version 0.4210 use ExtUtils::MakeMaker; WriteMakefile ( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Pod-1.48/README new/Test-Pod-1.49/README --- old/Test-Pod-1.48/README 2013-05-06 06:47:26.000000000 +0200 +++ new/Test-Pod-1.49/README 2015-05-12 19:30:24.000000000 +0200 @@ -1,4 +1,4 @@ -Test/Pod version 1.48 +Test/Pod version 1.49 ===================== This library's module, Test::Pod, provides an interface for validating POD in @@ -26,7 +26,8 @@ Copyright and Licence --------------------- -Copyright 2006-2010, Andy Lester. Some Rights Reserved. +Copyright 2006-2010, Andy Lester; 2010-2015 David E. Wheeler. Some Rights +Reserved. -You may use, modify, and distribute this package under the terms as the -Artistic License v2.0 or GNU Public License v2.0. +This module is free software; you can redistribute it and/or modify it under +the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Pod-1.48/lib/Test/Pod.pm new/Test-Pod-1.49/lib/Test/Pod.pm --- old/Test-Pod-1.48/lib/Test/Pod.pm 2013-05-06 06:47:26.000000000 +0200 +++ new/Test-Pod-1.49/lib/Test/Pod.pm 2015-05-12 19:30:24.000000000 +0200 @@ -8,11 +8,11 @@ =head1 VERSION -Version 1.48 +Version 1.49 =cut -our $VERSION = '1.48'; +our $VERSION = '1.49'; =head1 SYNOPSIS @@ -156,8 +156,9 @@ If C<@entries> is empty or not passed, the function finds all POD files in files in the F<blib> directory if it exists, or the F<lib> directory if not. A -POD file is one that ends with F<.pod>, F<.pl> and F<.pm>, or any file where -the first line looks like a shebang line. +POD file is one that ends with a Perl extension (F<.pod>, F<.pl>, F<.pm>, +F<.PL>, F<.t>), where the first line looks like a Perl shebang, or a batch +file (F<.bat>) starting with a line containing C<--*-Perl-*-->. If you're testing a module, just make a F<t/pod.t>: @@ -216,7 +217,7 @@ my @pod; require File::Find; File::Find::find({ - wanted => sub { -f $_ && _is_perl ($_) and push @pod, $File::Find::name }, + wanted => sub { -f $_ && _is_perl($_) && push @pod, $File::Find::name }, no_chdir => 1, }, @_ ? @_ : _starting_points()); return @pod; @@ -230,48 +231,73 @@ sub _is_perl { my $file = shift; - return 1 if $file =~ /\.PL$/; - return 1 if $file =~ /\.p(?:l|m|od)$/; - return 1 if $file =~ /\.t$/; + # accept as a Perl file everything that ends with a well known Perl suffix ... + return 1 if $file =~ /[.](?:PL|p(?:[lm]|od)|t)$/; open my $fh, '<', $file or return; my $first = <$fh>; close $fh; + return unless $first; - return 1 if defined $first && ($first =~ /(?:^#!.*perl)|--\*-Perl-\*--/); + # ... or that has a she-bang as first line ... + return 1 if $first =~ /^#!.*perl/; + + # ... or that is a .bat ad has a Perl comment line first + return 1 if $file =~ /[.]bat$/i && $first =~ /--[*]-Perl-[*]--/; return; } -=head1 TODO +=head1 SUPPORT + +This module is managed in an open L<GitHub +repository|http://github.com/perl-pod/test-pod/>. Feel free to fork and +contribute, or to clone L<git://github.com/perl-pod/test-pod.git> and send +patches! + +Found a bug? Please L<post|http://github.com/perl-pod/test-pod/issues> or +L<email|mailto:[email protected]> a report! + +=head1 AUTHORS -STUFF TO DO +=over -Note the changes that are being made. +=item David E. Wheeler <[email protected]> -Note that you no longer can test for "no pod". +Current maintainer. -=head1 AUTHOR +=item Andy Lester C<< <andy at petdance.com> >> -Currently maintained by David E. Wheeler, C<< <[email protected]> >>. +Maintainer emeritus. -Originally by brian d foy. +=item brian d foy -Maintainer emeritus: Andy Lester, C<< <andy at petdance.com> >>. +Orinal author. + +=back =head1 ACKNOWLEDGEMENTS -Thanks to -Andy Lester, -David Wheeler, -Paul Miller -and -Peter Edwards -for contributions and to C<brian d foy> for the original code. +Thanks brian d foy for the original code, and to these folks for contributions: + +=over + +=item * Andy Lester + +=item * David E. Wheeler + +=item * Paul Miller + +=item * Peter Edwards + +=item * Luca Ferrari + +=back =head1 COPYRIGHT AND LICENSE -Copyright 2006-2010, Andy Lester. Some Rights Reserved. +Copyright 2006-2010, Andy Lester; 2010-2015 David E. Wheeler. Some Rights +Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Pod-1.48/t/all_pod_files.t new/Test-Pod-1.49/t/all_pod_files.t --- old/Test-Pod-1.48/t/all_pod_files.t 2013-05-06 06:47:26.000000000 +0200 +++ new/Test-Pod-1.49/t/all_pod_files.t 2015-05-12 19:30:24.000000000 +0200 @@ -11,7 +11,7 @@ my @expected; if ( $^O eq "VMS" ) { @expected = ( - File::Spec->catfile( 'blib', 'lib', 'Test', 'Pod.pm' ), + File::Spec->catfile( 'lib', 'Test', 'Pod.pm' ), File::Spec->catfile( 't', 'pod', 'good-pod-script.' ), File::Spec->catfile( 't', 'pod', 'good-pod-script.bat' ), File::Spec->catfile( 't', 'pod', 'good.pod' ), @@ -22,14 +22,14 @@ # The expected files have slashes, not File::Spec separators, because # that's how File::Find does it. @expected = qw( - blib/lib/Test/Pod.pm + lib/Test/Pod.pm t/pod/good-pod-script t/pod/good-pod-script.bat t/pod/good.pod t/pod/no_pod.pod ); } -my @files = sort map { lc } all_pod_files( "blib", "t/pod" ); +my @files = sort map { lc } all_pod_files( "lib", "t/pod" ); @expected = sort map { lc } @expected; s{\\}{/}g for @files, @expected; is_deeply( \@files, \@expected, "Got all the distro files" ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Pod-1.48/t/pod.t new/Test-Pod-1.49/t/pod.t --- old/Test-Pod-1.48/t/pod.t 2013-05-06 06:47:26.000000000 +0200 +++ new/Test-Pod-1.49/t/pod.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -#!perl -Tw -use Test::More; -eval "use Test::Pod 1.00"; -plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; -all_pod_files_ok(); ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_install: |- # sed on %{name}.files license: Artistic-2.0 or GPL-2.0 #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module
