From f18878049eedbfb616ec253b85c1496ba10ce22e Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Thu, 6 May 2021 09:09:42 +0200 Subject: [PATCH] Upgrade to 3.43 as provided in perl-5.34.0 --- Test-Harness-3.42-Upgrade-to-3.43.patch | 976 ++++++++++++++++++++++++ perl-Test-Harness.spec | 23 +- 2 files changed, 992 insertions(+), 7 deletions(-) create mode 100644 Test-Harness-3.42-Upgrade-to-3.43.patch diff --git a/Test-Harness-3.42-Upgrade-to-3.43.patch b/Test-Harness-3.42-Upgrade-to-3.43.patch new file mode 100644 index 0000000..2fc0313 --- /dev/null +++ b/Test-Harness-3.42-Upgrade-to-3.43.patch @@ -0,0 +1,976 @@ +From cd59dd4bcd8ba4786da621c01b75dd584f242f9e Mon Sep 17 00:00:00 2001 +From: Jitka Plesnikova +Date: Thu, 6 May 2021 08:58:55 +0200 +Subject: [PATCH] Upgrade to 3.43 + +--- + lib/App/Prove.pm | 4 ++-- + lib/App/Prove/State.pm | 4 ++-- + lib/App/Prove/State/Result.pm | 4 ++-- + lib/App/Prove/State/Result/Test.pm | 4 ++-- + lib/TAP/Base.pm | 4 ++-- + lib/TAP/Formatter/Base.pm | 4 ++-- + lib/TAP/Formatter/Color.pm | 4 ++-- + lib/TAP/Formatter/Console.pm | 4 ++-- + lib/TAP/Formatter/Console/ParallelSession.pm | 4 ++-- + lib/TAP/Formatter/Console/Session.pm | 4 ++-- + lib/TAP/Formatter/File.pm | 4 ++-- + lib/TAP/Formatter/File/Session.pm | 4 ++-- + lib/TAP/Formatter/Session.pm | 4 ++-- + lib/TAP/Harness.pm | 8 ++++++-- + lib/TAP/Harness/Env.pm | 4 ++-- + lib/TAP/Object.pm | 4 ++-- + lib/TAP/Parser.pm | 8 ++++---- + lib/TAP/Parser/Aggregator.pm | 4 ++-- + lib/TAP/Parser/Grammar.pm | 4 ++-- + lib/TAP/Parser/Iterator.pm | 4 ++-- + lib/TAP/Parser/Iterator/Array.pm | 4 ++-- + lib/TAP/Parser/Iterator/Process.pm | 4 ++-- + lib/TAP/Parser/Iterator/Stream.pm | 4 ++-- + lib/TAP/Parser/IteratorFactory.pm | 4 ++-- + lib/TAP/Parser/Multiplexer.pm | 4 ++-- + lib/TAP/Parser/Result.pm | 4 ++-- + lib/TAP/Parser/Result/Bailout.pm | 4 ++-- + lib/TAP/Parser/Result/Comment.pm | 4 ++-- + lib/TAP/Parser/Result/Plan.pm | 4 ++-- + lib/TAP/Parser/Result/Pragma.pm | 4 ++-- + lib/TAP/Parser/Result/Test.pm | 4 ++-- + lib/TAP/Parser/Result/Unknown.pm | 4 ++-- + lib/TAP/Parser/Result/Version.pm | 4 ++-- + lib/TAP/Parser/Result/YAML.pm | 4 ++-- + lib/TAP/Parser/ResultFactory.pm | 4 ++-- + lib/TAP/Parser/Scheduler.pm | 4 ++-- + lib/TAP/Parser/Scheduler/Job.pm | 4 ++-- + lib/TAP/Parser/Scheduler/Spinner.pm | 4 ++-- + lib/TAP/Parser/Source.pm | 4 ++-- + lib/TAP/Parser/SourceHandler.pm | 4 ++-- + lib/TAP/Parser/SourceHandler/Executable.pm | 4 ++-- + lib/TAP/Parser/SourceHandler/File.pm | 4 ++-- + lib/TAP/Parser/SourceHandler/Handle.pm | 4 ++-- + lib/TAP/Parser/SourceHandler/Perl.pm | 4 ++-- + lib/TAP/Parser/SourceHandler/RawTAP.pm | 4 ++-- + lib/TAP/Parser/YAMLish/Reader.pm | 4 ++-- + lib/TAP/Parser/YAMLish/Writer.pm | 4 ++-- + lib/Test/Harness.pm | 4 ++-- + t/source.t | 3 ++- + 49 files changed, 104 insertions(+), 99 deletions(-) + +diff --git a/lib/App/Prove.pm b/lib/App/Prove.pm +index 9298726..a33fe97 100644 +--- a/lib/App/Prove.pm ++++ b/lib/App/Prove.pm +@@ -18,11 +18,11 @@ App::Prove - Implements the C command. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/App/Prove/State.pm b/lib/App/Prove/State.pm +index 0b61a82..006d4f8 100644 +--- a/lib/App/Prove/State.pm ++++ b/lib/App/Prove/State.pm +@@ -25,11 +25,11 @@ App::Prove::State - State storage for the C command. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/App/Prove/State/Result.pm b/lib/App/Prove/State/Result.pm +index 8f89c77..fb5e2d5 100644 +--- a/lib/App/Prove/State/Result.pm ++++ b/lib/App/Prove/State/Result.pm +@@ -14,11 +14,11 @@ App::Prove::State::Result - Individual test suite results. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/App/Prove/State/Result/Test.pm b/lib/App/Prove/State/Result/Test.pm +index b795280..f4cddac 100644 +--- a/lib/App/Prove/State/Result/Test.pm ++++ b/lib/App/Prove/State/Result/Test.pm +@@ -9,11 +9,11 @@ App::Prove::State::Result::Test - Individual test results. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Base.pm b/lib/TAP/Base.pm +index 78e07ab..289f093 100644 +--- a/lib/TAP/Base.pm ++++ b/lib/TAP/Base.pm +@@ -12,11 +12,11 @@ and L + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + use constant GOT_TIME_HIRES => do { + eval 'use Time::HiRes qw(time);'; +diff --git a/lib/TAP/Formatter/Base.pm b/lib/TAP/Formatter/Base.pm +index bf65e12..a9c0e3b 100644 +--- a/lib/TAP/Formatter/Base.pm ++++ b/lib/TAP/Formatter/Base.pm +@@ -58,11 +58,11 @@ TAP::Formatter::Base - Base class for harness output delegates + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Formatter/Color.pm b/lib/TAP/Formatter/Color.pm +index 7980790..0f08edf 100644 +--- a/lib/TAP/Formatter/Color.pm ++++ b/lib/TAP/Formatter/Color.pm +@@ -39,11 +39,11 @@ TAP::Formatter::Color - Run Perl test scripts with color + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Formatter/Console.pm b/lib/TAP/Formatter/Console.pm +index 1c82ef4..3217099 100644 +--- a/lib/TAP/Formatter/Console.pm ++++ b/lib/TAP/Formatter/Console.pm +@@ -11,11 +11,11 @@ TAP::Formatter::Console - Harness output delegate for default console output + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Formatter/Console/ParallelSession.pm b/lib/TAP/Formatter/Console/ParallelSession.pm +index 6826b4e..7f6767c 100644 +--- a/lib/TAP/Formatter/Console/ParallelSession.pm ++++ b/lib/TAP/Formatter/Console/ParallelSession.pm +@@ -41,11 +41,11 @@ TAP::Formatter::Console::ParallelSession - Harness output delegate for parallel + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Formatter/Console/Session.pm b/lib/TAP/Formatter/Console/Session.pm +index 492bdd7..8c2f957 100644 +--- a/lib/TAP/Formatter/Console/Session.pm ++++ b/lib/TAP/Formatter/Console/Session.pm +@@ -26,11 +26,11 @@ TAP::Formatter::Console::Session - Harness output delegate for default console o + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Formatter/File.pm b/lib/TAP/Formatter/File.pm +index ced7b3f..5a3a558 100644 +--- a/lib/TAP/Formatter/File.pm ++++ b/lib/TAP/Formatter/File.pm +@@ -13,11 +13,11 @@ TAP::Formatter::File - Harness output delegate for file output + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Formatter/File/Session.pm b/lib/TAP/Formatter/File/Session.pm +index 3403540..fb7b182 100644 +--- a/lib/TAP/Formatter/File/Session.pm ++++ b/lib/TAP/Formatter/File/Session.pm +@@ -10,11 +10,11 @@ TAP::Formatter::File::Session - Harness output delegate for file output + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Formatter/Session.pm b/lib/TAP/Formatter/Session.pm +index 2022220..a26048d 100644 +--- a/lib/TAP/Formatter/Session.pm ++++ b/lib/TAP/Formatter/Session.pm +@@ -23,11 +23,11 @@ TAP::Formatter::Session - Abstract base class for harness output delegate + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 METHODS + +diff --git a/lib/TAP/Harness.pm b/lib/TAP/Harness.pm +index a2f6daf..1b8ee87 100644 +--- a/lib/TAP/Harness.pm ++++ b/lib/TAP/Harness.pm +@@ -16,11 +16,11 @@ TAP::Harness - Run test scripts with statistics + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + $ENV{HARNESS_ACTIVE} = 1; + $ENV{HARNESS_VERSION} = $VERSION; +@@ -619,6 +619,10 @@ sub _aggregate_parallel { + + my ( $parser, $session ) = $self->make_parser($job); + $mux->add( $parser, [ $session, $job ] ); ++ ++ # The job has started: begin the timers ++ $parser->start_time( $parser->get_time ); ++ $parser->start_times( $parser->get_times ); + } + + if ( my ( $parser, $stash, $result ) = $mux->next ) { +diff --git a/lib/TAP/Harness/Env.pm b/lib/TAP/Harness/Env.pm +index 077626d..78e75fb 100644 +--- a/lib/TAP/Harness/Env.pm ++++ b/lib/TAP/Harness/Env.pm +@@ -7,7 +7,7 @@ use constant IS_VMS => ( $^O eq 'VMS' ); + use TAP::Object; + use Text::ParseWords qw/shellwords/; + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + # Get the parts of @INC which are changed from the stock list AND + # preserve reordering of stock directories. +@@ -126,7 +126,7 @@ TAP::Harness::Env - Parsing harness related environmental variables where approp + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Object.pm b/lib/TAP/Object.pm +index e9da17f..d3063c2 100644 +--- a/lib/TAP/Object.pm ++++ b/lib/TAP/Object.pm +@@ -9,11 +9,11 @@ TAP::Object - Base class that provides common functionality to all C mod + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser.pm b/lib/TAP/Parser.pm +index 34f4110..e8d51b1 100644 +--- a/lib/TAP/Parser.pm ++++ b/lib/TAP/Parser.pm +@@ -27,11 +27,11 @@ TAP::Parser - Parse L output + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + my $DEFAULT_TAP_VERSION = 12; + my $MAX_TAP_VERSION = 13; +@@ -1384,8 +1384,8 @@ sub _iter { + my $state = 'INIT'; + my $state_table = $self->_make_state_table; + +- $self->start_time( $self->get_time ); +- $self->start_times( $self->get_times ); ++ $self->start_time( $self->get_time ) unless $self->{start_time}; ++ $self->start_times( $self->get_times ) unless $self->{start_times}; + + # Make next_state closure + my $next_state = sub { +diff --git a/lib/TAP/Parser/Aggregator.pm b/lib/TAP/Parser/Aggregator.pm +index 65be445..1f4ff5d 100644 +--- a/lib/TAP/Parser/Aggregator.pm ++++ b/lib/TAP/Parser/Aggregator.pm +@@ -12,11 +12,11 @@ TAP::Parser::Aggregator - Aggregate TAP::Parser results + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/Grammar.pm b/lib/TAP/Parser/Grammar.pm +index ff0f2aa..0cf4d5b 100644 +--- a/lib/TAP/Parser/Grammar.pm ++++ b/lib/TAP/Parser/Grammar.pm +@@ -14,11 +14,11 @@ TAP::Parser::Grammar - A grammar for the Test Anything Protocol. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/Iterator.pm b/lib/TAP/Parser/Iterator.pm +index fab48cb..b516929 100644 +--- a/lib/TAP/Parser/Iterator.pm ++++ b/lib/TAP/Parser/Iterator.pm +@@ -11,11 +11,11 @@ TAP::Parser::Iterator - Base class for TAP source iterators + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/Iterator/Array.pm b/lib/TAP/Parser/Iterator/Array.pm +index 5a098cc..3ea348d 100644 +--- a/lib/TAP/Parser/Iterator/Array.pm ++++ b/lib/TAP/Parser/Iterator/Array.pm +@@ -11,11 +11,11 @@ TAP::Parser::Iterator::Array - Iterator for array-based TAP sources + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/Iterator/Process.pm b/lib/TAP/Parser/Iterator/Process.pm +index a121485..8e95a44 100644 +--- a/lib/TAP/Parser/Iterator/Process.pm ++++ b/lib/TAP/Parser/Iterator/Process.pm +@@ -16,11 +16,11 @@ TAP::Parser::Iterator::Process - Iterator for process-based TAP sources + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/Iterator/Stream.pm b/lib/TAP/Parser/Iterator/Stream.pm +index 2a21485..3054531 100644 +--- a/lib/TAP/Parser/Iterator/Stream.pm ++++ b/lib/TAP/Parser/Iterator/Stream.pm +@@ -11,11 +11,11 @@ TAP::Parser::Iterator::Stream - Iterator for filehandle-based TAP sources + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/IteratorFactory.pm b/lib/TAP/Parser/IteratorFactory.pm +index cd67702..3529c2f 100644 +--- a/lib/TAP/Parser/IteratorFactory.pm ++++ b/lib/TAP/Parser/IteratorFactory.pm +@@ -16,11 +16,11 @@ TAP::Parser::IteratorFactory - Figures out which SourceHandler objects to use fo + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/Multiplexer.pm b/lib/TAP/Parser/Multiplexer.pm +index 16af2d3..164e9af 100644 +--- a/lib/TAP/Parser/Multiplexer.pm ++++ b/lib/TAP/Parser/Multiplexer.pm +@@ -17,11 +17,11 @@ TAP::Parser::Multiplexer - Multiplex multiple TAP::Parsers + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/Result.pm b/lib/TAP/Parser/Result.pm +index c892796..698402a 100644 +--- a/lib/TAP/Parser/Result.pm ++++ b/lib/TAP/Parser/Result.pm +@@ -24,11 +24,11 @@ TAP::Parser::Result - Base class for TAP::Parser output objects + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/Result/Bailout.pm b/lib/TAP/Parser/Result/Bailout.pm +index facae6f..38ee458 100644 +--- a/lib/TAP/Parser/Result/Bailout.pm ++++ b/lib/TAP/Parser/Result/Bailout.pm +@@ -11,11 +11,11 @@ TAP::Parser::Result::Bailout - Bailout result token. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Parser/Result/Comment.pm b/lib/TAP/Parser/Result/Comment.pm +index 0f99b57..a07308e 100644 +--- a/lib/TAP/Parser/Result/Comment.pm ++++ b/lib/TAP/Parser/Result/Comment.pm +@@ -11,11 +11,11 @@ TAP::Parser::Result::Comment - Comment result token. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Parser/Result/Plan.pm b/lib/TAP/Parser/Result/Plan.pm +index 9db060e..1029694 100644 +--- a/lib/TAP/Parser/Result/Plan.pm ++++ b/lib/TAP/Parser/Result/Plan.pm +@@ -11,11 +11,11 @@ TAP::Parser::Result::Plan - Plan result token. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Parser/Result/Pragma.pm b/lib/TAP/Parser/Result/Pragma.pm +index c7a26be..897e0da 100644 +--- a/lib/TAP/Parser/Result/Pragma.pm ++++ b/lib/TAP/Parser/Result/Pragma.pm +@@ -11,11 +11,11 @@ TAP::Parser::Result::Pragma - TAP pragma token. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Parser/Result/Test.pm b/lib/TAP/Parser/Result/Test.pm +index b3bd224..e2c9781 100644 +--- a/lib/TAP/Parser/Result/Test.pm ++++ b/lib/TAP/Parser/Result/Test.pm +@@ -11,11 +11,11 @@ TAP::Parser::Result::Test - Test result token. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Parser/Result/Unknown.pm b/lib/TAP/Parser/Result/Unknown.pm +index d735ed1..cc04c8a 100644 +--- a/lib/TAP/Parser/Result/Unknown.pm ++++ b/lib/TAP/Parser/Result/Unknown.pm +@@ -11,11 +11,11 @@ TAP::Parser::Result::Unknown - Unknown result token. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Parser/Result/Version.pm b/lib/TAP/Parser/Result/Version.pm +index 5f4cb93..8a2bd7e 100644 +--- a/lib/TAP/Parser/Result/Version.pm ++++ b/lib/TAP/Parser/Result/Version.pm +@@ -11,11 +11,11 @@ TAP::Parser::Result::Version - TAP syntax version token. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Parser/Result/YAML.pm b/lib/TAP/Parser/Result/YAML.pm +index a88b8da..17de945 100644 +--- a/lib/TAP/Parser/Result/YAML.pm ++++ b/lib/TAP/Parser/Result/YAML.pm +@@ -11,11 +11,11 @@ TAP::Parser::Result::YAML - YAML result token. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 DESCRIPTION + +diff --git a/lib/TAP/Parser/ResultFactory.pm b/lib/TAP/Parser/ResultFactory.pm +index 27776ea..54d29a2 100644 +--- a/lib/TAP/Parser/ResultFactory.pm ++++ b/lib/TAP/Parser/ResultFactory.pm +@@ -29,11 +29,11 @@ TAP::Parser::ResultFactory - Factory for creating TAP::Parser output objects + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head2 DESCRIPTION + +diff --git a/lib/TAP/Parser/Scheduler.pm b/lib/TAP/Parser/Scheduler.pm +index e13d68e..7e3ddc2 100644 +--- a/lib/TAP/Parser/Scheduler.pm ++++ b/lib/TAP/Parser/Scheduler.pm +@@ -13,11 +13,11 @@ TAP::Parser::Scheduler - Schedule tests during parallel testing + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/Scheduler/Job.pm b/lib/TAP/Parser/Scheduler/Job.pm +index b765ab2..bfcb0f7 100644 +--- a/lib/TAP/Parser/Scheduler/Job.pm ++++ b/lib/TAP/Parser/Scheduler/Job.pm +@@ -10,11 +10,11 @@ TAP::Parser::Scheduler::Job - A single testing job. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/Scheduler/Spinner.pm b/lib/TAP/Parser/Scheduler/Spinner.pm +index 47bc28f..29f5c0d 100644 +--- a/lib/TAP/Parser/Scheduler/Spinner.pm ++++ b/lib/TAP/Parser/Scheduler/Spinner.pm +@@ -10,11 +10,11 @@ TAP::Parser::Scheduler::Spinner - A no-op job. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/Source.pm b/lib/TAP/Parser/Source.pm +index 5bd85e3..74c22cc 100644 +--- a/lib/TAP/Parser/Source.pm ++++ b/lib/TAP/Parser/Source.pm +@@ -14,11 +14,11 @@ TAP::Parser::Source - a TAP source & meta data about it + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/SourceHandler.pm b/lib/TAP/Parser/SourceHandler.pm +index 0156b99..f80c1ca 100644 +--- a/lib/TAP/Parser/SourceHandler.pm ++++ b/lib/TAP/Parser/SourceHandler.pm +@@ -12,11 +12,11 @@ TAP::Parser::SourceHandler - Base class for different TAP source handlers + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/SourceHandler/Executable.pm b/lib/TAP/Parser/SourceHandler/Executable.pm +index 376e8d1..0ad412b 100644 +--- a/lib/TAP/Parser/SourceHandler/Executable.pm ++++ b/lib/TAP/Parser/SourceHandler/Executable.pm +@@ -16,11 +16,11 @@ TAP::Parser::SourceHandler::Executable - Stream output from an executable TAP so + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/SourceHandler/File.pm b/lib/TAP/Parser/SourceHandler/File.pm +index 7e18437..48f9821 100644 +--- a/lib/TAP/Parser/SourceHandler/File.pm ++++ b/lib/TAP/Parser/SourceHandler/File.pm +@@ -16,11 +16,11 @@ TAP::Parser::SourceHandler::File - Stream TAP from a text file. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/SourceHandler/Handle.pm b/lib/TAP/Parser/SourceHandler/Handle.pm +index a0a0513..751e68a 100644 +--- a/lib/TAP/Parser/SourceHandler/Handle.pm ++++ b/lib/TAP/Parser/SourceHandler/Handle.pm +@@ -16,11 +16,11 @@ TAP::Parser::SourceHandler::Handle - Stream TAP from an IO::Handle or a GLOB. + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/SourceHandler/Perl.pm b/lib/TAP/Parser/SourceHandler/Perl.pm +index c2ea252..26b408a 100644 +--- a/lib/TAP/Parser/SourceHandler/Perl.pm ++++ b/lib/TAP/Parser/SourceHandler/Perl.pm +@@ -21,11 +21,11 @@ TAP::Parser::SourceHandler::Perl - Stream TAP from a Perl executable + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/SourceHandler/RawTAP.pm b/lib/TAP/Parser/SourceHandler/RawTAP.pm +index 2ef7711..9bf3b27 100644 +--- a/lib/TAP/Parser/SourceHandler/RawTAP.pm ++++ b/lib/TAP/Parser/SourceHandler/RawTAP.pm +@@ -16,11 +16,11 @@ TAP::Parser::SourceHandler::RawTAP - Stream output from raw TAP in a scalar/arra + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/YAMLish/Reader.pm b/lib/TAP/Parser/YAMLish/Reader.pm +index 1a8185e..eafc37a 100644 +--- a/lib/TAP/Parser/YAMLish/Reader.pm ++++ b/lib/TAP/Parser/YAMLish/Reader.pm +@@ -5,7 +5,7 @@ use warnings; + + use base 'TAP::Object'; + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + # TODO: + # Handle blessed object syntax +@@ -269,7 +269,7 @@ TAP::Parser::YAMLish::Reader - Read YAMLish data from iterator + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =head1 SYNOPSIS + +diff --git a/lib/TAP/Parser/YAMLish/Writer.pm b/lib/TAP/Parser/YAMLish/Writer.pm +index 904244a..9d6366c 100644 +--- a/lib/TAP/Parser/YAMLish/Writer.pm ++++ b/lib/TAP/Parser/YAMLish/Writer.pm +@@ -5,7 +5,7 @@ use warnings; + + use base 'TAP::Object'; + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + my $ESCAPE_CHAR = qr{ [ \x00-\x1f \" ] }x; + my $ESCAPE_KEY = qr{ (?: ^\W ) | $ESCAPE_CHAR }x; +@@ -146,7 +146,7 @@ TAP::Parser::YAMLish::Writer - Write YAMLish data + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =head1 SYNOPSIS + +diff --git a/lib/Test/Harness.pm b/lib/Test/Harness.pm +index 6cce46e..7084d62 100644 +--- a/lib/Test/Harness.pm ++++ b/lib/Test/Harness.pm +@@ -31,11 +31,11 @@ Test::Harness - Run Perl standard test scripts with statistics + + =head1 VERSION + +-Version 3.42 ++Version 3.43 + + =cut + +-our $VERSION = '3.42'; ++our $VERSION = '3.43'; + + # Backwards compatibility for exportable variable names. + *verbose = *Verbose; +diff --git a/t/source.t b/t/source.t +index 767892c..77cf442 100755 +--- a/t/source.t ++++ b/t/source.t +@@ -242,11 +242,12 @@ SKIP: { + my $symlink = File::Spec->catfile( $dir, 'source_link.T' ); + my $source = TAP::Parser::Source->new; + +- eval { symlink( File::Spec->rel2abs($test), $symlink ) }; ++ my $did_symlink = eval { symlink( File::Spec->rel2abs($test), $symlink ) }; + if ( my $e = $@ ) { + diag($@); + die "aborting test"; + } ++ skip "symlink not successful: $!", 9 unless $did_symlink; + + $source->raw( \$symlink ); + my $meta = $source->assemble_meta; +-- +2.30.2 + diff --git a/perl-Test-Harness.spec b/perl-Test-Harness.spec index a3711fa..1e4271c 100644 --- a/perl-Test-Harness.spec +++ b/perl-Test-Harness.spec @@ -1,3 +1,5 @@ +%global base_version 3.42 + # Run optional tests %if ! (0%{?rhel}) %bcond_without perl_Test_Harness_enables_optional_test @@ -7,15 +9,18 @@ Name: perl-Test-Harness Epoch: 1 -Version: 3.42 -Release: 459%{?dist} +Version: 3.43 +Release: 1%{?dist} Summary: Run Perl standard test scripts with statistics License: GPL+ or Artistic URL: https://metacpan.org/release/Test-Harness -Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/Test-Harness-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/Test-Harness-%{base_version}.tar.gz # Remove hard-coded shell bangs Patch0: Test-Harness-3.38-Remove-shell-bangs.patch +# Unbundled from perl 5.34.0 +Patch1: Test-Harness-3.42-Upgrade-to-3.43.patch BuildArch: noarch +BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter @@ -79,15 +84,16 @@ that is somewhat backwards compatible with Test::Harness 2.xx. If you're writing new code consider using TAP::Harness directly instead. %prep -%setup -q -n Test-Harness-%{version} +%setup -q -n Test-Harness-%{base_version} %patch0 -p1 +%patch1 -p1 %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT +%{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -101,6 +107,9 @@ make test %{_mandir}/man3/* %changelog +* Thu May 06 2021 Jitka Plesnikova - 1:3.43-1 +- Upgrade to 3.43 as provided in perl-5.34.0 + * Wed Jan 27 2021 Fedora Release Engineering - 1:3.42-459 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild