Hello community, here is the log from the commit of package perl-B-Keywords for openSUSE:Factory checked in at 2013-06-06 13:07:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-B-Keywords (Old) and /work/SRC/openSUSE:Factory/.perl-B-Keywords.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-B-Keywords" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-B-Keywords/perl-B-Keywords.changes 2012-02-15 15:58:20.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-B-Keywords.new/perl-B-Keywords.changes 2013-06-06 13:08:00.000000000 +0200 @@ -1,0 +2,25 @@ +Mon Jun 3 11:37:53 UTC 2013 - co...@suse.com + +- updated to 1.13 + - removed diag before each big t/11keywords.t loop + - added suggested keywords from RT #62382: + *_ and DATA to @FileHandles (the deprecated lowercase: stdin, stdout, stderr not), + import unimport to @Functions, + BINMODE CLEAR CLEARERR CLONE CLONE_SKIP CLOSE DELETE EOF + ERROR EXISTS EXTEND FDOPEN FETCH FETCHSIZE FILENO FILL FIRSTKEY FLUSH + GETC NEXTKEY OPEN POP POPPED PRINT PRINTF PUSH PUSHED READ READLINE + SCALAR SEEK SETLINEBUF SHIFT SPLICE STORE STORESIZE SYSOPEN TELL + TIEARRAY TIEHANDLE TIEHASH TIESCALAR UNREAD UNSHIFT UNTIE UTF8 WRITE to @TieIOMethods, + can isa DOES VERSION to @UNIVERSALMethods, + @EXPORT @EXPORT_OK @EXPORT_FAIL + @EXPORT_TAGS _push_tags _rebuild_cache as_heavy export export_fail + export_fail_in export_ok_tags export_tags export_to_level heavy_export + heavy_export_ok_tags heavy_export_tags heavy_export_to_level + heavy_require_version require_version to @ExporterSymbols (Zsbán Ambrus) + - Moved exp from @Barewords to @Functions + - Added $^CHILD_ERROR_NATIVE $^GLOBAL_PHASE $^LAST_FH $^MATCH $^PREMATCH + $^POSTMATCH $^UTF8CACHE $^WIN32_SLOPPY_STAT to @Scalars + - Added English names for %!, @F (perlrun) and @ARG for @_ (Zsbán Ambrus) + - Added %+ %- (Zsbán Ambrus) and $LAST_SUBMATCH_RESULT + +------------------------------------------------------------------- Old: ---- B-Keywords-1.12.tar.gz New: ---- B-Keywords-1.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-B-Keywords.spec ++++++ --- /var/tmp/diff_new_pack.YcYTWT/_old 2013-06-06 13:08:00.000000000 +0200 +++ /var/tmp/diff_new_pack.YcYTWT/_new 2013-06-06 13:08:00.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-B-Keywords # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products 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,7 +17,7 @@ Name: perl-B-Keywords -Version: 1.12 +Version: 1.13 Release: 0 %define cpan_name B-Keywords Summary: Lists of reserved barewords and symbol names @@ -30,17 +30,27 @@ BuildRequires: perl BuildRequires: perl-macros #BuildRequires: perl(B::Keywords) +#BuildRequires: perl(Test::Kwalitee) %{perl_requires} %description -'B::Keywords' supplies seven arrays of keywords: '@Scalars', '@Arrays', -'@Hashes', '@Filehandles', '@Symbols', '@Functions', and '@Barewords'. The -'@Symbols' array includes the contents of each of '@Scalars', '@Arrays', -'@Hashes', '@Functions' and '@Filehandles'. Similarly, '@Barewords' adds a -few non-function keywords and operators to the '@Functions' array. +'B::Keywords' supplies several arrays of exportable keywords: '@Scalars', +'@Arrays', '@Hashes', '@Filehandles', '@Symbols', '@Functions', +'@Barewords', '@TieIOMethods', '@UNIVERSALMethods' and '@ExporterSymbols'. + +The '@Symbols' array includes the contents of each of '@Scalars', +'@Arrays', '@Hashes', '@Functions' and '@Filehandles'. + +Similarly, '@Barewords' adds a few non-function keywords and operators to +the '@Functions' array. All additions and modifications are welcome. +The perl parser uses a static list of keywords from _regen/keywords.pl_ +which constitutes the strict list of keywords @Functions and @Barewords, +though some @Functions are not functions in the strict sense. Several +library functions use more special symbols, handles and methods. + %prep %setup -q -n %{cpan_name}-%{version} ++++++ B-Keywords-1.12.tar.gz -> B-Keywords-1.13.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/Changes new/B-Keywords-1.13/Changes --- old/B-Keywords-1.12/Changes 2012-02-09 22:09:27.000000000 +0100 +++ new/B-Keywords-1.13/Changes 2013-04-05 22:20:16.000000000 +0200 @@ -49,4 +49,25 @@ - Add new keywords for 5.16, __SUB__ and evalbytes. 1.12 rurban - Add new keyword fc (Unicode casefolding) for 5.16 added with commit 838f2281 - - added diag before each big t/11keywords.t loop \ No newline at end of file + - added diag before each big t/11keywords.t loop +1.13 rurban + - removed diag before each big t/11keywords.t loop + - added suggested keywords from RT #62382: + *_ and DATA to @FileHandles (the deprecated lowercase: stdin, stdout, stderr not), + import unimport to @Functions, + BINMODE CLEAR CLEARERR CLONE CLONE_SKIP CLOSE DELETE EOF + ERROR EXISTS EXTEND FDOPEN FETCH FETCHSIZE FILENO FILL FIRSTKEY FLUSH + GETC NEXTKEY OPEN POP POPPED PRINT PRINTF PUSH PUSHED READ READLINE + SCALAR SEEK SETLINEBUF SHIFT SPLICE STORE STORESIZE SYSOPEN TELL + TIEARRAY TIEHANDLE TIEHASH TIESCALAR UNREAD UNSHIFT UNTIE UTF8 WRITE to @TieIOMethods, + can isa DOES VERSION to @UNIVERSALMethods, + @EXPORT @EXPORT_OK @EXPORT_FAIL + @EXPORT_TAGS _push_tags _rebuild_cache as_heavy export export_fail + export_fail_in export_ok_tags export_tags export_to_level heavy_export + heavy_export_ok_tags heavy_export_tags heavy_export_to_level + heavy_require_version require_version to @ExporterSymbols (Zsbán Ambrus) + - Moved exp from @Barewords to @Functions + - Added $^CHILD_ERROR_NATIVE $^GLOBAL_PHASE $^LAST_FH $^MATCH $^PREMATCH + $^POSTMATCH $^UTF8CACHE $^WIN32_SLOPPY_STAT to @Scalars + - Added English names for %!, @F (perlrun) and @ARG for @_ (Zsbán Ambrus) + - Added %+ %- (Zsbán Ambrus) and $LAST_SUBMATCH_RESULT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/MANIFEST new/B-Keywords-1.13/MANIFEST --- old/B-Keywords-1.12/MANIFEST 2012-02-09 22:11:19.000000000 +0100 +++ new/B-Keywords-1.13/MANIFEST 2013-04-05 22:22:41.000000000 +0200 @@ -3,10 +3,15 @@ LICENSE Makefile.PL MANIFEST This list of files -META.yml README t/10basic.t t/11keywords.t t/export.t +t/z_kwalitee.t +t/z_meta.t +t/z_perl_minimum_version.t +t/z_pod-coverage.t +t/z_pod.t +META.yml Module YAML meta-data (added by MakeMaker) META.json Module JSON meta-data (added by MakeMaker) SIGNATURE Public-key signature (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/META.json new/B-Keywords-1.13/META.json --- old/B-Keywords-1.12/META.json 2012-02-09 22:11:19.000000000 +0100 +++ new/B-Keywords-1.13/META.json 2013-04-05 22:22:41.000000000 +0200 @@ -4,7 +4,7 @@ "Joshua ben Jore <jj...@cpan.org>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.113640", + "generated_by" : "ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version 2.120921", "license" : [ "unknown" ], @@ -22,18 +22,28 @@ "prereqs" : { "build" : { "requires" : { - "ExtUtils::MakeMaker" : 0 + "ExtUtils::MakeMaker" : "0" } }, "configure" : { "requires" : { - "ExtUtils::MakeMaker" : 0 + "ExtUtils::MakeMaker" : "0" } }, "runtime" : { - "requires" : {} + "requires" : { + "B" : "0" + } } }, "release_status" : "stable", - "version" : "1.12" + "resources" : { + "license" : [ + "http://dev.perl.org/licenses/" + ], + "repository" : { + "url" : "http://github.com/rurban/b-keywords" + } + }, + "version" : "1.13" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/META.yml new/B-Keywords-1.13/META.yml --- old/B-Keywords-1.12/META.yml 2012-02-09 22:11:19.000000000 +0100 +++ new/B-Keywords-1.13/META.yml 2013-04-05 22:22:41.000000000 +0200 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: 0 dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.113640' +generated_by: 'ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version 2.120921' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -17,5 +17,9 @@ directory: - t - inc -requires: {} -version: 1.12 +requires: + B: 0 +resources: + license: http://dev.perl.org/licenses/ + repository: http://github.com/rurban/b-keywords +version: 1.13 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/Makefile.PL new/B-Keywords-1.13/Makefile.PL --- old/B-Keywords-1.12/Makefile.PL 2012-02-09 22:11:09.000000000 +0100 +++ new/B-Keywords-1.13/Makefile.PL 2013-04-05 21:07:31.000000000 +0200 @@ -3,9 +3,41 @@ use ExtUtils::MakeMaker; WriteMakefile( - 'NAME' => 'B::Keywords', - 'VERSION_FROM' => 'lib/B/Keywords.pm', - 'ABSTRACT_FROM' => 'lib/B/Keywords.pm', - 'AUTHOR' => 'Joshua ben Jore <jj...@cpan.org>', - 'SIGN' => 1, -); + 'NAME' => 'B::Keywords', + 'VERSION_FROM' => 'lib/B/Keywords.pm', + 'ABSTRACT_FROM' => 'lib/B/Keywords.pm', + 'AUTHOR' => 'Joshua ben Jore <jj...@cpan.org>', + 'SIGN' => 1, + 'PREREQ_PM' => + { + 'B' => 0, + }, + depend => { 'README' => 'lib/B/Keywords.pm' }, + ($ExtUtils::MakeMaker::VERSION gt '6.46' ? + ('META_MERGE' => + { + resources => + { + repository => 'http://github.com/rurban/b-keywords', + license => 'http://dev.perl.org/licenses/', + }, + } + ) : ()), + ); + +package MY; +use Config; + +sub depend { + " +README : \$(VERSION_FROM) + pod2text \$(VERSION_FROM) > README + +release : dist + git commit -a -m\"release \$(VERSION)\" + git tag \$(VERSION) + cpan-upload \$(DISTVNAME).tar\$(SUFFIX) + git push + git push --tags +" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/SIGNATURE new/B-Keywords-1.13/SIGNATURE --- old/B-Keywords-1.12/SIGNATURE 2012-02-09 22:11:22.000000000 +0100 +++ new/B-Keywords-1.13/SIGNATURE 2013-04-05 22:22:43.000000000 +0200 @@ -1,5 +1,5 @@ This file contains message digests of all files listed in MANIFEST, -signed via the Module::Signature module, version 0.68. +signed via the Module::Signature module, version 0.70. To verify the content in this distribution, first make sure you have Module::Signature installed, then type: @@ -14,21 +14,26 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -SHA1 376f341fb5c92b5bbe9b6b798b130e705b331567 Changes +SHA1 4fd4f295bef51b341d005ff4c8853d81e9b59873 Changes SHA1 0e987cce2b4e94a4d6920e7353f8674a4462528a LICENSE -SHA1 ed2ca90947f0eb71411fdc44939d9be8fb8aadfc MANIFEST -SHA1 aa49172323ec06feb997b1d860c5d995373b9021 META.json -SHA1 d2aa096b98279614a5309514f335447d21e77475 META.yml -SHA1 7db998b9f11f26c92aa736d5fbfc7e2c631c146a Makefile.PL +SHA1 46ec9231f2152e6fcf554de076272a1fc03e0a72 MANIFEST +SHA1 2b446deddab81b5ed2712e17213c234d4beb78d9 META.json +SHA1 3bee5f7a51f960701f21044adfd4e83c1a6a09cf META.yml +SHA1 30135cfc198eb4d8eec4d5c35a1a1f23f19ebc00 Makefile.PL SHA1 a53710b3f8ae9645adcdf4bae864206b330c15af README -SHA1 66ef8027d8fef458361993318c0b1f5761a9dc88 lib/B/Keywords.pm +SHA1 ea460dfca2b97db341e7da3b18e1ef26b0a22a5b lib/B/Keywords.pm SHA1 26eebf3bf6177dc6fc7f91890c68c05b7a61fbe1 t/10basic.t -SHA1 8f3cce01072e8854b0e4620cb3b338e8228c3ba4 t/11keywords.t +SHA1 d977811d4f33d71a1b515fc6eb96d1bb4184bbd5 t/11keywords.t SHA1 e6872ebfbccb57ef102945ddd11d131453024ea3 t/export.t +SHA1 a68085c94808f024eb2ed76ce73ea439f0ed6d48 t/z_kwalitee.t +SHA1 993b3cef8c06a70d99829facf76140864eb57240 t/z_meta.t +SHA1 ade48e2b6098a0a329312543e1451e7e7fb7bc5f t/z_perl_minimum_version.t +SHA1 db4c7c6e1b7cf2bd96d86fa303fd2225b8bf8613 t/z_pod-coverage.t +SHA1 c8aa3903d3aba84c19bbd94d677620c758fa07d5 t/z_pod.t -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.11 (GNU/Linux) +Version: GnuPG v1.4.12 (GNU/Linux) -iEYEARECAAYFAk80NncACgkQmm2SYo/9yUIDoACdF0JUk0iW04ZP5GP1oKhwX/mG -PiMAn0AJGt4LcTuvXwqhFK3bFGzKU0Mj -=ixp+ +iEYEARECAAYFAlFfMpEACgkQmm2SYo/9yULfGQCfXqmtTZRKDXwA9V7gfAjGzp/f +GTcAnA/5fqAwLqsAqRx6GxCqkol7rPW7 +=mVku -----END PGP SIGNATURE----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/lib/B/Keywords.pm new/B-Keywords-1.13/lib/B/Keywords.pm --- old/B-Keywords-1.12/lib/B/Keywords.pm 2012-02-09 21:47:42.000000000 +0100 +++ new/B-Keywords-1.13/lib/B/Keywords.pm 2013-04-05 22:16:53.000000000 +0200 @@ -9,11 +9,12 @@ use vars qw( @EXPORT_OK %EXPORT_TAGS ); @EXPORT_OK = qw( @Scalars @Arrays @Hashes @Filehandles @Symbols - @Functions @Barewords ); + @Functions @Barewords @TieIOMethods @UNIVERSALMethods + @ExporterSymbols ); %EXPORT_TAGS = ( 'all' => \@EXPORT_OK ); use vars '$VERSION'; -$VERSION = '1.12'; +$VERSION = '1.13'; use vars '@Scalars'; @Scalars = ( @@ -51,18 +52,23 @@ $] $^A $ACCUMULATOR $^C $COMPILING + $^CHILD_ERROR_NATIVE $^D $DEBUGGING $^E $EXTENDED_OS_ERROR $^ENCODING $^F $SYSTEM_FD_MAX + $^GLOBAL_PHASE $^H $^I $INPLACE_EDIT $^L $FORMAT_FORMFEED + $^LAST_FH $^M - $^N + $^MATCH + $^N $LAST_SUBMATCH_RESULT $^O $OSNAME $^OPEN $^P $PERLDB + $^PREMATCH $^POSTMATCH $^R $LAST_REGEXP_CODE_RESULT $^RE_DEBUG_FLAGS $^RE_TRIE_MAXBUF @@ -70,10 +76,12 @@ $^T $BASETIME $^TAINT $^UNICODE + $^UTF8CACHE $^UTF8LOCALE $^V $PERL_VERSION $^W $WARNING $^WARNING_BITS $^WIDE_SYSTEM_CALLS + $^WIN32_SLOPPY_STAT $^X $EXECUTABLE_NAME $ARGV ), @@ -84,14 +92,17 @@ @+ $LAST_MATCH_END @- @LAST_MATCH_START @ARGV + @F @INC - @_ + @_ @ARG ); use vars '@Hashes'; @Hashes = qw( %OVERLOAD - %! + %+ %LAST_MATCH_END + %- %LAST_MATCH_START + %! %OS_ERROR %ERRNO %^H %INC %ENV @@ -101,7 +112,9 @@ use vars '@Filehandles'; @Filehandles = qw( *ARGV ARGV + *_ _ ARGVOUT + DATA STDIN STDOUT STDERR @@ -157,6 +170,7 @@ exec exists exit + exp fc fcntl fileno @@ -197,6 +211,7 @@ hex index int + import ioctl join keys @@ -308,6 +323,7 @@ umask undef unlink + unimport unpack unshift untie @@ -353,7 +369,6 @@ elsif eq err - exp for foreach ge @@ -385,6 +400,29 @@ y ); +use vars '@TieIOMethods'; +@TieIOMethods = qw( + BINMODE CLEAR CLEARERR CLONE CLONE_SKIP CLOSE DELETE EOF + ERROR EXISTS EXTEND FDOPEN FETCH FETCHSIZE FILENO FILL FIRSTKEY FLUSH + GETC NEXTKEY OPEN POP POPPED PRINT PRINTF PUSH PUSHED READ READLINE + SCALAR SEEK SETLINEBUF SHIFT SPLICE STORE STORESIZE SYSOPEN TELL + TIEARRAY TIEHANDLE TIEHASH TIESCALAR UNREAD UNSHIFT UNTIE UTF8 WRITE +); + +use vars '@UNIVERSALMethods'; +@UNIVERSALMethods = qw( + can isa DOES VERSION +); + +use vars '@ExporterSymbols'; +@ExporterSymbols = qw( + @EXPORT @EXPORT_OK @EXPORT_FAIL + @EXPORT_TAGS _push_tags _rebuild_cache as_heavy export export_fail + export_fail_in export_ok_tags export_tags export_to_level heavy_export + heavy_export_ok_tags heavy_export_tags heavy_export_to_level + heavy_require_version require_version +); + use vars '@Symbols'; @Symbols = ( @Scalars, @Arrays, @Hashes, @Filehandles, @Functions ); @@ -395,6 +433,8 @@ __END__ +=encoding UTF-8 + =head1 NAME B::Keywords - Lists of reserved barewords and symbol names @@ -407,15 +447,25 @@ =head1 DESCRIPTION -C<B::Keywords> supplies seven arrays of keywords: C<@Scalars>, -C<@Arrays>, C<@Hashes>, C<@Filehandles>, C<@Symbols>, C<@Functions>, -and C<@Barewords>. The C<@Symbols> array includes the contents of each +C<B::Keywords> supplies several arrays of exportable keywords: +C<@Scalars>, C<@Arrays>, C<@Hashes>, C<@Filehandles>, C<@Symbols>, +C<@Functions>, C<@Barewords>, C<@TieIOMethods>, C<@UNIVERSALMethods> +and C<@ExporterSymbols>. + +The C<@Symbols> array includes the contents of each of C<@Scalars>, C<@Arrays>, C<@Hashes>, C<@Functions> and C<@Filehandles>. + Similarly, C<@Barewords> adds a few non-function keywords and operators to the C<@Functions> array. All additions and modifications are welcome. +The perl parser uses a static list of keywords from +F<regen/keywords.pl> which constitutes the strict list of keywords +@Functions and @Barewords, though some @Functions are not functions +in the strict sense. +Several library functions use more special symbols, handles and methods. + =head1 DATA =over @@ -443,6 +493,21 @@ This is a list of other special keywords in perl including operators and all the control structures. +=item C<@TieIOMethods> + +Those are special tie or PerlIO methods called by the perl core, +namely for tieing or PerlIO::via (or both of those) or threads. + +=item C<@UNIVERSALMethods> + +Methods defined by the core package UNIVERSAL. + +=item C<@ExporterSymbols> + +Variables or functions used by Exporter (some internal), which is +almost as good as being keywords, for you mustn't use them for any +other purpose in any package that isa Exporter, which is quite common. + =back =head1 EXPORT @@ -452,11 +517,9 @@ =head1 SEE ALSO -keywords.pl from the perl source, L<perlvar>, L<perlfunc>, +F<regen/keywords.pl> from the perl source, L<perlvar>, L<perlfunc>, L<perldelta>. - - =head1 BUGS Please report any bugs or feature requests to C<bug-B-Keywords at @@ -495,7 +558,8 @@ =head1 ACKNOWLEDGEMENTS -Michael G Schwern for patches +Michael G Schwern, Reini Urban, Florian Ragwitz and Zsbán Ambrus +for patches and releases. =head1 COPYRIGHT AND LICENSE @@ -511,8 +575,12 @@ =head1 SOURCE AVAILABILITY -This source is in Github: L<git://github.com/jbenjore/b-keywords.git> +This source is in Github: L<git://github.com/rurban/b-keywords.git> =head1 AUTHOR Joshua ben Jore <jj...@cpan.org> + +=head1 MAINTAINER + +Reini Urban <rur...@cpan.org> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/t/11keywords.t new/B-Keywords-1.13/t/11keywords.t --- old/B-Keywords-1.12/t/11keywords.t 2012-02-09 21:49:47.000000000 +0100 +++ new/B-Keywords-1.13/t/11keywords.t 2013-04-05 21:07:31.000000000 +0200 @@ -19,7 +19,7 @@ return $char; } -diag "Test everything in keywords.h is covered."; +# Test everything in keywords.h is covered. { my $keywords = File::Spec->catfile( $Config{archlibexp}, 'CORE', 'keywords.h' ); open FH, "< $keywords\0" or die "Can't open $keywords: $!"; @@ -35,7 +35,7 @@ } -diag "Test all the single character globals in main"; +# Test all the single character globals in main { my @globals = map { _map_control_char($_) } grep { length $_ == 1 and /\W/ } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/t/z_kwalitee.t new/B-Keywords-1.13/t/z_kwalitee.t --- old/B-Keywords-1.12/t/z_kwalitee.t 1970-01-01 01:00:00.000000000 +0100 +++ new/B-Keywords-1.13/t/z_kwalitee.t 2013-04-05 21:07:31.000000000 +0200 @@ -0,0 +1,21 @@ +# -*- perl -*- +use strict; +use warnings; + +use Test::More; +use Config; + +plan skip_all => 'This test is only run for the module author' + unless -d '.git' || $ENV{IS_MAINTAINER}; +plan skip_all => 'Test::Kwalitee fails with clang -faddress-sanitizer' + if $Config{ccflags} =~ /-faddress-sanitizer/; + +use File::Copy 'cp'; +cp('MYMETA.yml','META.yml') if -e 'MYMETA.yml' and !-e 'META.yml'; +eval { + require Test::Kwalitee; + Test::Kwalitee->import( + tests => [ qw( -use_strict -has_test_pod -has_test_pod_coverage)]); +}; +plan skip_all => "Test::Kwalitee needed for testing kwalitee" + if $@; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/t/z_meta.t new/B-Keywords-1.13/t/z_meta.t --- old/B-Keywords-1.12/t/z_meta.t 1970-01-01 01:00:00.000000000 +0100 +++ new/B-Keywords-1.13/t/z_meta.t 2013-04-05 21:07:31.000000000 +0200 @@ -0,0 +1,28 @@ +# -*- perl -*- + +# Test that our META.yml file matches the current specification. + +use strict; +BEGIN { + $| = 1; + $^W = 1; +} + +my $MODULE = 'Test::CPAN::Meta 0.12'; + +# Don't run tests for installs +use Test::More; +use Config; +plan skip_all => 'This test is only run for the module author' + unless -d '.git' || $ENV{IS_MAINTAINER}; +plan skip_all => 'Test::CPAN::Meta fails with clang -faddress-sanitizer' + if $Config{ccflags} =~ /-faddress-sanitizer/; + +# Load the testing module +eval "use $MODULE;"; +if ( $@ ) { + plan( skip_all => "$MODULE not available for testing" ); + die "Failed to load required release-testing module $MODULE 0.12" + if -d '.git' || $ENV{IS_MAINTAINER}; +} +meta_yaml_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/t/z_perl_minimum_version.t new/B-Keywords-1.13/t/z_perl_minimum_version.t --- old/B-Keywords-1.12/t/z_perl_minimum_version.t 1970-01-01 01:00:00.000000000 +0100 +++ new/B-Keywords-1.13/t/z_perl_minimum_version.t 2013-04-05 21:07:31.000000000 +0200 @@ -0,0 +1,33 @@ +# -*- perl -*- + +# Test that our declared minimum Perl version matches our syntax +use strict; +BEGIN { + $| = 1; + $^W = 1; +} + +my @MODULES = ( + 'Perl::MinimumVersion 1.20', + 'Test::MinimumVersion 0.008', +); + +# Don't run tests during end-user installs +use Test::More; +unless (-d '.git' || $ENV{IS_MAINTAINER}) { + plan( skip_all => "Author tests not required for installation" ); +} + +# Load the testing modules +foreach my $MODULE ( @MODULES ) { + eval "use $MODULE"; + if ( $@ ) { + plan( skip_all => "$MODULE not available for testing" ); + die "Failed to load required release-testing module $MODULE" + if -d '.git' || $ENV{IS_MAINTAINER}; + } +} + +all_minimum_version_ok("5.006"); + +1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/B-Keywords-1.12/t/z_pod-coverage.t new/B-Keywords-1.13/t/z_pod-coverage.t --- old/B-Keywords-1.12/t/z_pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 +++ new/B-Keywords-1.13/t/z_pod-coverage.t 2013-04-05 21:07:31.000000000 +0200 @@ -0,0 +1,14 @@ +# -*- perl -*- +use strict; +use warnings; +use Test::More; + +plan skip_all => 'done_testing requires Test::More 0.88' if Test::More->VERSION < 0.88; +plan skip_all => 'This test is only run for the module author' + unless -d '.git' || $ENV{IS_MAINTAINER}; + +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/B-Keywords-1.12/t/z_pod.t new/B-Keywords-1.13/t/z_pod.t --- old/B-Keywords-1.12/t/z_pod.t 1970-01-01 01:00:00.000000000 +0100 +++ new/B-Keywords-1.13/t/z_pod.t 2013-04-05 21:07:31.000000000 +0200 @@ -0,0 +1,5 @@ +# -*- perl -*- +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(); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org