commit
fac491bf95
@ -0,0 +1 @@
|
||||
SOURCES/Test2-Suite-0.000163.tar.gz
|
@ -0,0 +1 @@
|
||||
8c4f072f60084dee42ffab74fc654872976ee8f1 SOURCES/Test2-Suite-0.000163.tar.gz
|
@ -0,0 +1,620 @@
|
||||
diff -ru Test2-Suite-0.000140.orig/t/acceptance/Workflow-Acceptance.t Test2-Suite-0.000140/t/acceptance/Workflow-Acceptance.t
|
||||
--- Test2-Suite-0.000140.orig/t/acceptance/Workflow-Acceptance.t 2021-05-12 17:08:19.000000000 +0200
|
||||
+++ Test2-Suite-0.000140/t/acceptance/Workflow-Acceptance.t 2021-06-16 10:17:17.363699501 +0200
|
||||
@@ -171,7 +171,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 77;
|
||||
+ prop line => 78;
|
||||
|
||||
call subevents => array {
|
||||
event Ok => sub {
|
||||
@@ -180,7 +180,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 12;
|
||||
+ prop line => 13;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -189,7 +189,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 16;
|
||||
+ prop line => 17;
|
||||
};
|
||||
|
||||
event Subtest => sub {
|
||||
@@ -198,7 +198,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 34;
|
||||
+ prop line => 35;
|
||||
|
||||
call subevents => array {
|
||||
event Ok => sub {
|
||||
@@ -207,7 +207,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 37;
|
||||
+ prop line => 38;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -216,7 +216,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 40;
|
||||
+ prop line => 41;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -225,7 +225,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 34;
|
||||
+ prop line => 35;
|
||||
};
|
||||
|
||||
event Skip => sub {
|
||||
@@ -235,7 +235,7 @@
|
||||
call reason => 'No isolation method available';
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 48;
|
||||
+ prop line => 49;
|
||||
};
|
||||
|
||||
event Subtest => sub {
|
||||
@@ -244,7 +244,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 52;
|
||||
+ prop line => 53;
|
||||
|
||||
call subevents => array {
|
||||
event Ok => sub {
|
||||
@@ -253,7 +253,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 23;
|
||||
+ prop line => 24;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -262,7 +262,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 27;
|
||||
+ prop line => 28;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -271,7 +271,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 51;
|
||||
+ prop line => 52;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -280,7 +280,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 29;
|
||||
+ prop line => 30;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -289,14 +289,14 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 32;
|
||||
+ prop line => 33;
|
||||
};
|
||||
|
||||
event Plan => sub {
|
||||
call max => 5;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 52;
|
||||
+ prop line => 53;
|
||||
};
|
||||
end();
|
||||
};
|
||||
@@ -308,7 +308,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 57;
|
||||
+ prop line => 58;
|
||||
|
||||
call subevents => array {
|
||||
event Ok => sub {
|
||||
@@ -317,7 +317,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 23;
|
||||
+ prop line => 24;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -326,7 +326,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 27;
|
||||
+ prop line => 28;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -336,14 +336,14 @@
|
||||
call todo => 'foo todo';
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 56;
|
||||
+ prop line => 57;
|
||||
};
|
||||
|
||||
event Note => sub {
|
||||
call message => match qr{^\n?Failed test};
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 56;
|
||||
+ prop line => 57;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -352,7 +352,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 29;
|
||||
+ prop line => 30;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -361,14 +361,14 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 32;
|
||||
+ prop line => 33;
|
||||
};
|
||||
|
||||
event Plan => sub {
|
||||
call max => 5;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 57;
|
||||
+ prop line => 58;
|
||||
};
|
||||
end();
|
||||
};
|
||||
@@ -380,7 +380,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 61;
|
||||
+ prop line => 62;
|
||||
|
||||
call subevents => array {
|
||||
event Ok => sub {
|
||||
@@ -389,7 +389,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 23;
|
||||
+ prop line => 24;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -398,7 +398,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 27;
|
||||
+ prop line => 28;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -407,14 +407,14 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 60;
|
||||
+ prop line => 61;
|
||||
};
|
||||
|
||||
event Note => sub {
|
||||
call message => match qr{^\n?Failed test};
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 60;
|
||||
+ prop line => 61;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -423,7 +423,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 29;
|
||||
+ prop line => 30;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -432,14 +432,14 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 32;
|
||||
+ prop line => 33;
|
||||
};
|
||||
|
||||
event Plan => sub {
|
||||
call max => 5;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 61;
|
||||
+ prop line => 62;
|
||||
};
|
||||
end();
|
||||
};
|
||||
@@ -461,7 +461,7 @@
|
||||
call reason => 'No isolation method available';
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 76;
|
||||
+ prop line => 77;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -470,7 +470,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 42;
|
||||
+ prop line => 43;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -479,14 +479,14 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 44;
|
||||
+ prop line => 45;
|
||||
};
|
||||
|
||||
event Plan => sub {
|
||||
call max => 11;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 34;
|
||||
+ prop line => 35;
|
||||
};
|
||||
end();
|
||||
};
|
||||
@@ -498,7 +498,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 35;
|
||||
+ prop line => 36;
|
||||
|
||||
call subevents => array {
|
||||
event Ok => sub {
|
||||
@@ -507,7 +507,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 37;
|
||||
+ prop line => 38;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -516,7 +516,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 40;
|
||||
+ prop line => 41;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -525,7 +525,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 35;
|
||||
+ prop line => 36;
|
||||
};
|
||||
|
||||
event Skip => sub {
|
||||
@@ -535,7 +535,7 @@
|
||||
call reason => 'No isolation method available';
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 48;
|
||||
+ prop line => 49;
|
||||
};
|
||||
|
||||
event Subtest => sub {
|
||||
@@ -544,7 +544,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 52;
|
||||
+ prop line => 53;
|
||||
|
||||
call subevents => array {
|
||||
event Ok => sub {
|
||||
@@ -553,7 +553,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 23;
|
||||
+ prop line => 24;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -562,7 +562,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 27;
|
||||
+ prop line => 28;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -571,7 +571,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 51;
|
||||
+ prop line => 52;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -580,7 +580,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 29;
|
||||
+ prop line => 30;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -589,14 +589,14 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 32;
|
||||
+ prop line => 33;
|
||||
};
|
||||
|
||||
event Plan => sub {
|
||||
call max => 5;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 52;
|
||||
+ prop line => 53;
|
||||
};
|
||||
end();
|
||||
};
|
||||
@@ -608,7 +608,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 57;
|
||||
+ prop line => 58;
|
||||
|
||||
call subevents => array {
|
||||
event Ok => sub {
|
||||
@@ -617,7 +617,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 23;
|
||||
+ prop line => 24;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -626,7 +626,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 27;
|
||||
+ prop line => 28;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -636,14 +636,14 @@
|
||||
call todo => 'foo todo';
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 56;
|
||||
+ prop line => 57;
|
||||
};
|
||||
|
||||
event Note => sub {
|
||||
call message => match qr{^\n?Failed test};
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 56;
|
||||
+ prop line => 57;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -652,7 +652,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 29;
|
||||
+ prop line => 30;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -661,14 +661,14 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 32;
|
||||
+ prop line => 33;
|
||||
};
|
||||
|
||||
event Plan => sub {
|
||||
call max => 5;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 57;
|
||||
+ prop line => 58;
|
||||
};
|
||||
end();
|
||||
};
|
||||
@@ -680,7 +680,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 61;
|
||||
+ prop line => 62;
|
||||
|
||||
call subevents => array {
|
||||
event Ok => sub {
|
||||
@@ -689,7 +689,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 23;
|
||||
+ prop line => 24;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -698,7 +698,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 27;
|
||||
+ prop line => 28;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -707,14 +707,14 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 60;
|
||||
+ prop line => 61;
|
||||
};
|
||||
|
||||
event Note => sub {
|
||||
call message => match qr{^\n?Failed test};
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 60;
|
||||
+ prop line => 61;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -723,7 +723,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 29;
|
||||
+ prop line => 30;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -732,14 +732,14 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 32;
|
||||
+ prop line => 33;
|
||||
};
|
||||
|
||||
event Plan => sub {
|
||||
call max => 5;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 61;
|
||||
+ prop line => 62;
|
||||
};
|
||||
end();
|
||||
};
|
||||
@@ -761,7 +761,7 @@
|
||||
call reason => 'No isolation method available';
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 76;
|
||||
+ prop line => 77;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -770,7 +770,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 42;
|
||||
+ prop line => 43;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -779,14 +779,14 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 44;
|
||||
+ prop line => 45;
|
||||
};
|
||||
|
||||
event Plan => sub {
|
||||
call max => 11;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 35;
|
||||
+ prop line => 36;
|
||||
};
|
||||
end();
|
||||
};
|
||||
@@ -798,7 +798,7 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 18;
|
||||
+ prop line => 19;
|
||||
};
|
||||
|
||||
event Ok => sub {
|
||||
@@ -807,14 +807,14 @@
|
||||
call effective_pass => 1;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 21;
|
||||
+ prop line => 22;
|
||||
};
|
||||
|
||||
event Plan => sub {
|
||||
call max => 6;
|
||||
|
||||
prop file => match qr{\QAcceptance.t\E$};
|
||||
- prop line => 77;
|
||||
+ prop line => 78;
|
||||
};
|
||||
end();
|
||||
};
|
@ -0,0 +1,495 @@
|
||||
# Run extra test
|
||||
# Break lines according to Unicode rules
|
||||
# Disable non-core dependencies when bootstrapping a core module
|
||||
%if !%{defined perl_bootstrap} && ! (0%{?rhel})
|
||||
%bcond_without perl_Test2_Suite_enables_extra_test
|
||||
%bcond_without perl_Test2_Suite_enables_unicode
|
||||
%else
|
||||
%bcond_with perl_Test2_Suite_enables_extra_test
|
||||
%bcond_with perl_Test2_Suite_enables_unicode
|
||||
%endif
|
||||
|
||||
Name: perl-Test2-Suite
|
||||
Version: 0.000163
|
||||
Release: 3%{?dist}
|
||||
Summary: Set of tools built upon the Test2 framework
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
URL: https://metacpan.org/release/Test2-Suite
|
||||
Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test2-Suite-%{version}.tar.gz
|
||||
Patch0: Test2-Suite-0.000140-add_perl.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
BuildRequires: perl(B)
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(Scalar::Util) >= 1.13
|
||||
BuildRequires: perl(Term::Table) >= 0.013
|
||||
BuildRequires: perl(Term::Table::Cell)
|
||||
BuildRequires: perl(Term::Table::LineBreak)
|
||||
BuildRequires: perl(Term::Table::Util)
|
||||
BuildRequires: perl(Test2::API) >= 1.302176
|
||||
BuildRequires: perl(Test2::API::Context)
|
||||
BuildRequires: perl(Test2::Event)
|
||||
BuildRequires: perl(Test2::Event::Exception)
|
||||
# Test2::Event::Note loaded by send_event()
|
||||
BuildRequires: perl(Test2::Event::Note)
|
||||
# Test2::Event::Skip loaded by send_event()
|
||||
BuildRequires: perl(Test2::Event::Skip)
|
||||
BuildRequires: perl(Test2::EventFacet)
|
||||
BuildRequires: perl(Test2::EventFacet::Info::Table)
|
||||
BuildRequires: perl(Test2::EventFacet::Trace)
|
||||
BuildRequires: perl(Test2::Hub::Interceptor)
|
||||
BuildRequires: perl(Test2::Hub::Subtest)
|
||||
BuildRequires: perl(Test2::IPC)
|
||||
BuildRequires: perl(Test2::Tools::Tiny)
|
||||
BuildRequires: perl(Test2::Util)
|
||||
BuildRequires: perl(Test2::Util::HashBase)
|
||||
BuildRequires: perl(Test2::Util::Trace)
|
||||
BuildRequires: perl(threads)
|
||||
BuildRequires: perl(Time::HiRes)
|
||||
BuildRequires: perl(utf8)
|
||||
BuildRequires: perl(vars)
|
||||
# Optional run-time:
|
||||
# Sub::Util
|
||||
BuildRequires: perl(Sub::Util)
|
||||
%if %{with perl_Test2_Suite_enables_unicode}
|
||||
BuildRequires: perl(Unicode::GCString)
|
||||
%endif
|
||||
# Tests:
|
||||
BuildRequires: perl(IO::Handle)
|
||||
%if %{with perl_Test2_Suite_enables_extra_test}
|
||||
BuildRequires: perl(JSON::MaybeXS)
|
||||
%endif
|
||||
BuildRequires: perl(PerlIO)
|
||||
BuildRequires: perl(Test2::EventFacet::Assert)
|
||||
BuildRequires: perl(Test2::Formatter::TAP)
|
||||
Requires: perl(Data::Dumper)
|
||||
# Sub::Util
|
||||
Suggests: perl(Sub::Util)
|
||||
Requires: perl(Term::Table) >= 0.013
|
||||
Requires: perl(Test2::API) >= 1.302176
|
||||
Requires: perl(Test2::Event)
|
||||
# Test2::Event::Note loaded by send_event()
|
||||
Requires: perl(Test2::Event::Note)
|
||||
# Test2::Event::Skip loaded by send_event()
|
||||
Requires: perl(Test2::Event::Skip)
|
||||
Requires: perl(Test2::EventFacet)
|
||||
Requires: perl(threads)
|
||||
Requires: perl(utf8)
|
||||
Recommends: perl(Module::Pluggable) >= 2.7
|
||||
%if %{with perl_Test2_Suite_enables_unicode}
|
||||
# Unicode::GCString for formating double-width strings
|
||||
Recommends: perl(Unicode::GCString)
|
||||
%endif
|
||||
# perl-Test2-AsyncSubtest-0:0.000020-1.fc28 merged
|
||||
Provides: perl-Test2-AsyncSubtest = %{version}-%{release}
|
||||
Obsoletes: perl-Test2-AsyncSubtest < 0.000020-2
|
||||
# perl-Test2-Workflow-0:0.000018-4.fc27 merged
|
||||
Provides: perl-Test2-Workflow = %{version}-%{release}
|
||||
Obsoletes: perl-Test2-Workflow < 0.000018-5
|
||||
# 3 inlined modules for future Perl Core
|
||||
Provides: bundled(Importer) = 0.026
|
||||
Provides: bundled(Scope::Guard) = 0.21
|
||||
Provides: bundled(Sub::Info) = 0.002
|
||||
|
||||
# Remove under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Term::Table|Test2::API)\\)$
|
||||
# Remove private modules
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(MyTest::Target\\)$
|
||||
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
|
||||
|
||||
%description
|
||||
Rich set of tools, plugins, bundles, etc. built upon the Test2 testing
|
||||
library. If you are interested in writing Perl tests this is the distribution
|
||||
for you.
|
||||
|
||||
%package tests
|
||||
Summary: Tests for %{name}
|
||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Requires: perl-Test-Harness
|
||||
%if %{with perl_Test2_Suite_enables_extra_test}
|
||||
Requires: perl(JSON::MaybeXS)
|
||||
Requires: perl(Test::Compile) >= 1.1.0
|
||||
Recommends: perl(Module::Pluggable) >= 2.7
|
||||
Recommends: perl(Unicode::GCString)
|
||||
%endif
|
||||
|
||||
%description tests
|
||||
Tests from %{name}. Execute them
|
||||
with "%{_libexecdir}/%{name}/test".
|
||||
|
||||
%prep
|
||||
%setup -q -n Test2-Suite-%{version}
|
||||
%patch 0 -p1
|
||||
# Help generators to recognize Perl scripts
|
||||
for F in `find . -type f -name '*.t'`; do
|
||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F"
|
||||
chmod +x "$F"
|
||||
done
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
# Install tests
|
||||
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||
#!/bin/sh
|
||||
cd %{_libexecdir}/%{name} && exec prove -r -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||
EOF
|
||||
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||
|
||||
%check
|
||||
unset AUTHOR_TESTING
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%files tests
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.000163-3
|
||||
- Rebuilt for MSVSphere 10
|
||||
|
||||
* Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.000163-3
|
||||
- Perl 5.40 re-rebuild of bootstrapped packages
|
||||
|
||||
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.000163-2
|
||||
- Perl 5.40 rebuild
|
||||
|
||||
* Thu Jul 11 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.000163-1
|
||||
- 0.000163 bump
|
||||
- Disable optional tests on RHEL
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.000159-4
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.000159-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.000159-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Oct 27 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.000159-1
|
||||
- 0.000159 bump
|
||||
|
||||
* Thu Sep 14 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.000156-1
|
||||
- 0.000156 bump
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.000155-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Mon Jul 03 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.000155-2
|
||||
- Add conditional which could disable integration tests
|
||||
|
||||
* Tue May 02 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.000155-1
|
||||
- Add information about inlined modules
|
||||
- 0.000155 bump
|
||||
|
||||
* Fri Apr 28 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.000153-1
|
||||
- Add some recommends to tests package
|
||||
- 0.000153 bump
|
||||
|
||||
* Thu Apr 27 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.000152-1
|
||||
- 0.000152 bump
|
||||
|
||||
* Thu Mar 23 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.000150-1
|
||||
- 0.000150 bump
|
||||
|
||||
* Tue Mar 21 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.000149-1
|
||||
- 0.000149 bump
|
||||
- Fix usage of patch macro
|
||||
|
||||
* Mon Mar 06 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.000148-1
|
||||
- 0.000148 bump
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.000145-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Dec 08 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.000145-5
|
||||
- Fix requires packages in *-tests package
|
||||
|
||||
* Wed Dec 07 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.000145-4
|
||||
- Remove provided packages from *-tests package
|
||||
- Update license to SPDX format
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.000145-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.000145-2
|
||||
- Perl 5.36 rebuild
|
||||
|
||||
* Tue Mar 08 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.000145-1
|
||||
- 0.000145 bump
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.000144-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jan 05 2022 Michal Josef Špaček <mspacek@redhat.com> - 0.000144-1
|
||||
- 0.000144 bump
|
||||
|
||||
* Tue Nov 16 2021 Michal Josef Špaček <mspacek@redhat.com> - 0.000142-1
|
||||
- 0.000142 bump
|
||||
|
||||
* Tue Jul 27 2021 Michal Josef Špaček <mspacek@redhat.com> - 0.000141-1
|
||||
- 0.000141 bump
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.000140-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jun 16 2021 Michal Josef Špaček <mspacek@redhat.com> - 0.000140-1
|
||||
- 0.000140 bump
|
||||
- Package tests
|
||||
|
||||
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.000139-3
|
||||
- Perl 5.34 rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.000139-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Dec 16 2020 Petr Pisar <ppisar@redhat.com> - 0.000139-1
|
||||
- 0.000139 bump
|
||||
|
||||
* Thu Oct 22 2020 Petr Pisar <ppisar@redhat.com> - 0.000138-1
|
||||
- 0.000138 bump
|
||||
|
||||
* Tue Oct 06 2020 Petr Pisar <ppisar@redhat.com> - 0.000136-1
|
||||
- 0.000136 bump
|
||||
|
||||
* Wed Aug 19 2020 Petr Pisar <ppisar@redhat.com> - 0.000135-1
|
||||
- 0.000135 bump
|
||||
|
||||
* Fri Aug 07 2020 Petr Pisar <ppisar@redhat.com> - 0.000132-1
|
||||
- 0.000132 bump
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.000130-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.000130-2
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Mon Jun 01 2020 Petr Pisar <ppisar@redhat.com> - 0.000130-1
|
||||
- 0.000130 bump
|
||||
|
||||
* Fri Jan 31 2020 Petr Pisar <ppisar@redhat.com> - 0.000129-1
|
||||
- 0.000129 bump
|
||||
|
||||
* Fri Jan 31 2020 Petr Pisar <ppisar@redhat.com> - 0.000128-1
|
||||
- 0.000128 bump
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.000127-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 31 2019 Petr Pisar <ppisar@redhat.com> - 0.000127-1
|
||||
- 0.000127 bump
|
||||
|
||||
* Thu Aug 29 2019 Petr Pisar <ppisar@redhat.com> - 0.000126-1
|
||||
- 0.000126 bump
|
||||
|
||||
* Tue Aug 20 2019 Petr Pisar <ppisar@redhat.com> - 0.000125-1
|
||||
- 0.000125 bump
|
||||
|
||||
* Mon Aug 19 2019 Petr Pisar <ppisar@redhat.com> - 0.000124-1
|
||||
- 0.000124 bump
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.000122-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.000122-2
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Mon May 20 2019 Petr Pisar <ppisar@redhat.com> - 0.000122-1
|
||||
- 0.000122 bump
|
||||
|
||||
* Thu May 09 2019 Petr Pisar <ppisar@redhat.com> - 0.000121-1
|
||||
- 0.000121 bump
|
||||
|
||||
* Mon Apr 29 2019 Petr Pisar <ppisar@redhat.com> - 0.000120-1
|
||||
- 0.000120 bump
|
||||
|
||||
* Mon Mar 18 2019 Petr Pisar <ppisar@redhat.com> - 0.000119-1
|
||||
- 0.000119 bump
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.000118-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Jan 21 2019 Petr Pisar <ppisar@redhat.com> - 0.000118-1
|
||||
- 0.000118 bump
|
||||
|
||||
* Wed Dec 05 2018 Petr Pisar <ppisar@redhat.com> - 0.000117-1
|
||||
- 0.000117 bump
|
||||
|
||||
* Thu Nov 29 2018 Petr Pisar <ppisar@redhat.com> - 0.000116-1
|
||||
- 0.000116 bump
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.000115-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Petr Pisar <ppisar@redhat.com> - 0.000115-1
|
||||
- 0.000115 bump
|
||||
|
||||
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.000114-2
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Fri Apr 20 2018 Petr Pisar <ppisar@redhat.com> - 0.000114-1
|
||||
- 0.000114 bump
|
||||
|
||||
* Thu Mar 15 2018 Petr Pisar <ppisar@redhat.com> - 0.000111-1
|
||||
- 0.000111 bump
|
||||
|
||||
* Mon Mar 12 2018 Petr Pisar <ppisar@redhat.com> - 0.000108-1
|
||||
- 0.000108 bump
|
||||
|
||||
* Wed Mar 07 2018 Petr Pisar <ppisar@redhat.com> - 0.000106-1
|
||||
- 0.000106 bump
|
||||
|
||||
* Tue Mar 06 2018 Petr Pisar <ppisar@redhat.com> - 0.000104-1
|
||||
- 0.000104 bump
|
||||
|
||||
* Mon Mar 05 2018 Petr Pisar <ppisar@redhat.com> - 0.000102-1
|
||||
- 0.000102 bump
|
||||
|
||||
* Wed Feb 14 2018 Petr Pisar <ppisar@redhat.com> - 0.000100-1
|
||||
- 0.000100 bump
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.000097-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Dec 11 2017 Petr Pisar <ppisar@redhat.com> - 0.000097-1
|
||||
- 0.000097 bump
|
||||
|
||||
* Fri Dec 08 2017 Petr Pisar <ppisar@redhat.com> - 0.000094-2
|
||||
- Remove unused dependency on Term::ReadKey
|
||||
|
||||
* Tue Dec 05 2017 Petr Pisar <ppisar@redhat.com> - 0.000094-1
|
||||
- 0.000094 bump
|
||||
|
||||
* Mon Nov 20 2017 Petr Pisar <ppisar@redhat.com> - 0.000084-1
|
||||
- 0.000084 bump
|
||||
|
||||
* Fri Oct 27 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.000083-1
|
||||
- 0.000083 bump
|
||||
|
||||
* Mon Oct 23 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.000082-1
|
||||
- 0.000082 bump
|
||||
|
||||
* Tue Oct 17 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.000080-1
|
||||
- 0.000080 bump
|
||||
|
||||
* Thu Sep 14 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.000077-1
|
||||
- 0.000077 bump
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.000072-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jun 19 2017 Petr Pisar <ppisar@redhat.com> - 0.000072-1
|
||||
- 0.000072 bump
|
||||
|
||||
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.000070-2
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Mon Mar 20 2017 Petr Pisar <ppisar@redhat.com> - 0.000070-1
|
||||
- 0.000070 bump
|
||||
|
||||
* Fri Mar 17 2017 Petr Pisar <ppisar@redhat.com> - 0.000069-1
|
||||
- 0.000069 bump
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.000067-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Jan 04 2017 Petr Pisar <ppisar@redhat.com> - 0.000067-1
|
||||
- 0.000067 bump
|
||||
|
||||
* Tue Dec 20 2016 Petr Pisar <ppisar@redhat.com> - 0.000065-1
|
||||
- 0.000065 bump
|
||||
|
||||
* Mon Dec 19 2016 Petr Pisar <ppisar@redhat.com> - 0.000063-1
|
||||
- 0.000063 bump
|
||||
|
||||
* Thu Sep 29 2016 Petr Pisar <ppisar@redhat.com> - 0.000060-1
|
||||
- 0.000060 bump
|
||||
|
||||
* Fri Sep 02 2016 Petr Pisar <ppisar@redhat.com> - 0.000058-1
|
||||
- 0.000058 bump
|
||||
|
||||
* Mon Aug 01 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.000055-1
|
||||
- 0.000055 bump
|
||||
|
||||
* Fri Jul 29 2016 Petr Pisar <ppisar@redhat.com> - 0.000054-1
|
||||
- 0.000054 bump
|
||||
|
||||
* Tue Jul 19 2016 Petr Pisar <ppisar@redhat.com> - 0.000052-1
|
||||
- 0.000052 bump
|
||||
|
||||
* Mon Jul 11 2016 Petr Pisar <ppisar@redhat.com> - 0.000050-1
|
||||
- 0.000050 bump
|
||||
|
||||
* Mon Jul 04 2016 Petr Pisar <ppisar@redhat.com> - 0.000048-1
|
||||
- 0.000048 bump
|
||||
|
||||
* Tue Jun 28 2016 Petr Pisar <ppisar@redhat.com> - 0.000042-1
|
||||
- 0.000042 bump
|
||||
|
||||
* Mon Jun 27 2016 Petr Pisar <ppisar@redhat.com> - 0.000038-1
|
||||
- 0.000038 bump
|
||||
|
||||
* Mon Jun 20 2016 Petr Pisar <ppisar@redhat.com> - 0.000032-1
|
||||
- 0.000032 bump
|
||||
|
||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.000030-2
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Wed May 11 2016 Petr Pisar <ppisar@redhat.com> - 0.000030-1
|
||||
- 0.000030 bump
|
||||
|
||||
* Mon May 02 2016 Petr Pisar <ppisar@redhat.com> - 0.000029-1
|
||||
- 0.000029 bump
|
||||
|
||||
* Mon Apr 18 2016 Petr Pisar <ppisar@redhat.com> - 0.000028-1
|
||||
- 0.000028 bump
|
||||
|
||||
* Thu Apr 14 2016 Petr Pisar <ppisar@redhat.com> - 0.000027-1
|
||||
- 0.000027 bump
|
||||
|
||||
* Mon Apr 11 2016 Petr Pisar <ppisar@redhat.com> - 0.000026-1
|
||||
- 0.000026 bump
|
||||
|
||||
* Tue Apr 05 2016 Petr Pisar <ppisar@redhat.com> - 0.000025-1
|
||||
- 0.000025 bump
|
||||
|
||||
* Mon Mar 21 2016 Petr Pisar <ppisar@redhat.com> - 0.000024-1
|
||||
- 0.000024 bump
|
||||
|
||||
* Fri Mar 18 2016 Petr Pisar <ppisar@redhat.com> - 0.000023-1
|
||||
- 0.000023 bump
|
||||
|
||||
* Tue Mar 08 2016 Petr Pisar <ppisar@redhat.com> - 0.000022-1
|
||||
- 0.000022 bump
|
||||
|
||||
* Mon Mar 07 2016 Petr Pisar <ppisar@redhat.com> - 0.000021-1
|
||||
- 0.000021 bump
|
||||
|
||||
* Thu Feb 11 2016 Petr Pisar <ppisar@redhat.com> 0.000020-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue