Hello community, here is the log from the commit of package perl-Test-Needs for openSUSE:Factory checked in at 2016-08-22 10:07:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-Needs (Old) and /work/SRC/openSUSE:Factory/.perl-Test-Needs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Needs" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-Needs/perl-Test-Needs.changes 2016-07-12 23:53:16.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Test-Needs.new/perl-Test-Needs.changes 2016-08-22 10:07:22.000000000 +0200 @@ -1,0 +2,13 @@ +Fri Aug 19 06:03:25 UTC 2016 - [email protected] + +- updated to 0.002004 + see /usr/share/doc/packages/perl-Test-Needs/Changes + + 0.002004 - 2016-08-18 + - fix test counts when Test2 not available + + 0.002003 - 2016-08-18 + - fix loud warnings when aborting a test under Test2 + - some kwalitee improvements + +------------------------------------------------------------------- Old: ---- Test-Needs-0.002002.tar.gz New: ---- Test-Needs-0.002004.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-Needs.spec ++++++ --- /var/tmp/diff_new_pack.YJfl7L/_old 2016-08-22 10:07:23.000000000 +0200 +++ /var/tmp/diff_new_pack.YJfl7L/_new 2016-08-22 10:07:23.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-Test-Needs -Version: 0.002002 +Version: 0.002004 Release: 0 %define cpan_name Test-Needs Summary: Skip tests when modules not available @@ -25,6 +25,7 @@ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-Needs/ Source0: http://www.cpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl ++++++ Test-Needs-0.002002.tar.gz -> Test-Needs-0.002004.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Needs-0.002002/Changes new/Test-Needs-0.002004/Changes --- old/Test-Needs-0.002002/Changes 2016-06-03 16:42:05.000000000 +0200 +++ new/Test-Needs-0.002004/Changes 2016-08-18 19:33:21.000000000 +0200 @@ -1,5 +1,12 @@ Revision history for Test::Needs +0.002004 - 2016-08-18 + - fix test counts when Test2 not available + +0.002003 - 2016-08-18 + - fix loud warnings when aborting a test under Test2 + - some kwalitee improvements + 0.002002 - 2016-06-03 - fix tests on non .0 perl versions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Needs-0.002002/META.json new/Test-Needs-0.002004/META.json --- old/Test-Needs-0.002002/META.json 2016-06-03 16:42:18.000000000 +0200 +++ new/Test-Needs-0.002004/META.json 2016-08-18 19:33:54.000000000 +0200 @@ -4,7 +4,7 @@ "haarg - Graham Knop (cpan:HAARG) <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "ExtUtils::MakeMaker version 7.16, CPAN::Meta::Converter version 2.150001", + "generated_by" : "ExtUtils::MakeMaker version 7.22, CPAN::Meta::Converter version 2.150005", "license" : [ "perl_5" ], @@ -30,7 +30,9 @@ "requires" : {} }, "runtime" : { - "requires" : {} + "requires" : { + "perl" : "5.006" + } }, "test" : { "requires" : { @@ -54,5 +56,11 @@ }, "x_IRC" : "irc://irc.perl.org/#perl-qa" }, - "version" : "0.002002" + "version" : "0.002004", + "x_cpants" : { + "ignore" : { + "prereq_matches_use" : "required modules detected incorrectly" + } + }, + "x_serialization_backend" : "JSON::PP version 2.27300" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Needs-0.002002/META.yml new/Test-Needs-0.002004/META.yml --- old/Test-Needs-0.002002/META.yml 2016-06-03 16:42:18.000000000 +0200 +++ new/Test-Needs-0.002004/META.yml 2016-08-18 19:33:54.000000000 +0200 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'ExtUtils::MakeMaker version 7.16, CPAN::Meta::Converter version 2.150001' +generated_by: 'ExtUtils::MakeMaker version 7.22, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -17,10 +17,15 @@ directory: - t - xt -requires: {} +requires: + perl: '5.006' resources: IRC: irc://irc.perl.org/#perl-qa bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Needs license: http://dev.perl.org/licenses/ repository: https://github.com/haarg/Test-Needs.git -version: '0.002002' +version: '0.002004' +x_cpants: + ignore: + prereq_matches_use: 'required modules detected incorrectly' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Needs-0.002002/Makefile.PL new/Test-Needs-0.002004/Makefile.PL --- old/Test-Needs-0.002002/Makefile.PL 2016-06-03 16:40:59.000000000 +0200 +++ new/Test-Needs-0.002004/Makefile.PL 2016-08-15 01:55:59.000000000 +0200 @@ -16,6 +16,7 @@ }, runtime => { requires => { + 'perl' => 5.006, }, }, develop => { @@ -40,6 +41,9 @@ directory => [ 't', 'xt' ] }, dynamic_config => 0, + x_cpants => { ignore => { + prereq_matches_use => 'required modules detected incorrectly', + } }, ); my %MM_ARGS = (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Needs-0.002002/lib/Test/Needs.pm new/Test-Needs-0.002004/lib/Test/Needs.pm --- old/Test-Needs-0.002002/lib/Test/Needs.pm 2016-06-03 16:41:18.000000000 +0200 +++ new/Test-Needs-0.002004/lib/Test/Needs.pm 2016-08-18 19:33:18.000000000 +0200 @@ -1,7 +1,8 @@ package Test::Needs; use strict; use warnings; -our $VERSION = '0.002002'; +no warnings 'once'; +our $VERSION = '0.002004'; $VERSION =~ tr/_//d; BEGIN { @@ -144,6 +145,7 @@ } } $ctx->done_testing; + $ctx->release if $Test2::API::VERSION < 1.302053; $ctx->send_event('+'._t2_terminate_event()); } elsif ($INC{'Test/Builder.pm'}) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Needs-0.002002/t/basic.t new/Test-Needs-0.002004/t/basic.t --- old/Test-Needs-0.002002/t/basic.t 2016-05-19 05:19:46.000000000 +0200 +++ new/Test-Needs-0.002004/t/basic.t 2016-08-18 19:31:47.000000000 +0200 @@ -1,6 +1,6 @@ use strict; use warnings; -use Test::More tests => 8*3 + 16*2; +use Test::More tests => 9*3 + 16*2; use IPC::Open3; delete $ENV{RELEASE_TESTING}; @@ -28,7 +28,7 @@ my ($label, @load) = @$api; my @using = map { my ($e, $o) = capture @perl, "-m$_", "-eprint+$_->VERSION"; - skip "$label not available", 8+16 + skip "$label not available", 9+16 if $e; "$_ $o"; } @load; @@ -41,19 +41,26 @@ = capture @perl, '-MTestScript' . (@args ? '='.join(',', @args) : ''); $name = "$label: $name"; my $want_exit; + my $unmatch; if (ref $match eq 'HASH') { $want_exit = $match->{exit}; + $unmatch = $match->{unmatch}; $match = $match->{match}; } - my @match = ref $match eq 'ARRAY' ? @$match : $match ? $match : (); + $match = !defined $match ? [] : ref $match eq 'ARRAY' ? $match : [$match]; + $unmatch = !defined $unmatch ? [] : ref $unmatch eq 'ARRAY' ? $unmatch : [$unmatch]; if ($exit && !$want_exit) { - ok 0, $name; + ok 0, $name + for 0 .. ($#$match + $#$unmatch)||1; diag "Exit status $exit\nOutput:\n$out"; } else { - for my $m (@match) { + for my $m (@$match) { like $out, $m, $name; } + for my $um (@$unmatch) { + unlike $out, $um, $name; + } } }; @@ -97,7 +104,7 @@ ); $check->( ['ModuleWithVersion', 2], - { match => qr/^not ok/m, exit => 1 }, + { match => qr/^not ok/m, unmatch => qr/Cleaning up the CONTEXT stack/, exit => 1 }, 'Outdated module fails with RELEASE_TESTING', ); } ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #description: |- # override description from CPAN #summary: override summary from CPAN #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_build: |- # rm unused.files #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module
