|
 |
6af9c0e |
# Break lines according to Unicode rules
|
|
 |
6af9c0e |
%bcond_without perl_Test2_Suite_enables_unicode
|
|
 |
6af9c0e |
|
|
 |
db77b53 |
Name: perl-Test2-Suite
|
|
 |
e78fde6 |
Version: 0.000111
|
|
 |
8771673 |
Release: 2%{?dist}
|
|
 |
db77b53 |
Summary: Set of tools built upon the Test2 framework
|
|
 |
db77b53 |
License: GPL+ or Artistic
|
|
 |
bdbe224 |
URL: https://metacpan.org/release/Test2-Suite
|
|
 |
bdbe224 |
Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test2-Suite-%{version}.tar.gz
|
|
 |
8771673 |
# Remove an invalid test that went out of synchronization with Term-Table,
|
|
 |
8771673 |
# bug #1699250, fixed in upstream 0.000117
|
|
 |
8771673 |
Patch0: Test2-Suite-0.000116-This-test-belongs-in-Term-Table.patch
|
|
 |
db77b53 |
BuildArch: noarch
|
|
 |
db77b53 |
BuildRequires: make
|
|
 |
962f237 |
BuildRequires: perl-generators
|
|
 |
c58d5f8 |
BuildRequires: perl-interpreter
|
|
 |
5cec332 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
 |
db77b53 |
BuildRequires: perl(strict)
|
|
 |
db77b53 |
BuildRequires: perl(warnings)
|
|
 |
db77b53 |
# Run-time:
|
|
 |
db77b53 |
BuildRequires: perl(B)
|
|
 |
db77b53 |
BuildRequires: perl(base)
|
|
 |
db77b53 |
BuildRequires: perl(Carp)
|
|
 |
e941be2 |
BuildRequires: perl(Data::Dumper)
|
|
 |
db77b53 |
BuildRequires: perl(Exporter)
|
|
 |
75b2b05 |
BuildRequires: perl(File::Spec)
|
|
 |
75b2b05 |
BuildRequires: perl(File::Temp)
|
|
 |
9d62b33 |
BuildRequires: perl(Importer) >= 0.024
|
|
 |
75b2b05 |
BuildRequires: perl(List::Util)
|
|
 |
96a8929 |
BuildRequires: perl(Module::Pluggable) >= 2.7
|
|
 |
db77b53 |
BuildRequires: perl(overload)
|
|
 |
db77b53 |
BuildRequires: perl(Scalar::Util)
|
|
 |
968837e |
BuildRequires: perl(Scope::Guard)
|
|
 |
968837e |
BuildRequires: perl(Sub::Info) >= 0.002
|
|
 |
eb0da78 |
BuildRequires: perl(Term::Table) >= 0.002
|
|
 |
eb0da78 |
BuildRequires: perl(Term::Table::Cell)
|
|
 |
eb0da78 |
BuildRequires: perl(Term::Table::LineBreak)
|
|
 |
eb0da78 |
BuildRequires: perl(Term::Table::Util)
|
|
 |
5b83c88 |
# Test2::API version from Test2 in META
|
|
 |
5984738 |
BuildRequires: perl(Test2::API) >= 1.302127
|
|
 |
968837e |
BuildRequires: perl(Test2::API::Context)
|
|
 |
75b2b05 |
BuildRequires: perl(Test2::Event)
|
|
 |
968837e |
BuildRequires: perl(Test2::Event::Exception)
|
|
 |
968837e |
# Test2::Event::Note loaded by send_event()
|
|
 |
968837e |
BuildRequires: perl(Test2::Event::Note)
|
|
 |
968837e |
# Test2::Event::Skip loaded by send_event()
|
|
 |
968837e |
BuildRequires: perl(Test2::Event::Skip)
|
|
 |
96a8929 |
BuildRequires: perl(Test2::EventFacet)
|
|
 |
db77b53 |
BuildRequires: perl(Test2::Hub::Interceptor)
|
|
 |
968837e |
BuildRequires: perl(Test2::Hub::Subtest)
|
|
 |
968837e |
BuildRequires: perl(Test2::IPC)
|
|
 |
5984738 |
BuildRequires: perl(Test2::Tools::Tiny)
|
|
 |
db77b53 |
BuildRequires: perl(Test2::Util)
|
|
 |
db77b53 |
BuildRequires: perl(Test2::Util::HashBase)
|
|
 |
db77b53 |
BuildRequires: perl(Test2::Util::Trace)
|
|
 |
2e13e4d |
BuildRequires: perl(threads)
|
|
 |
75b2b05 |
BuildRequires: perl(Time::HiRes)
|
|
 |
db77b53 |
BuildRequires: perl(utf8)
|
|
 |
968837e |
BuildRequires: perl(vars)
|
|
 |
db77b53 |
# Optional run-time:
|
|
 |
968837e |
# Sub::Util or Sub::Name
|
|
 |
968837e |
BuildRequires: perl(Sub::Util)
|
|
 |
6af9c0e |
%if %{with perl_Test2_Suite_enables_unicode}
|
|
 |
db77b53 |
BuildRequires: perl(Unicode::GCString)
|
|
 |
6af9c0e |
%endif
|
|
 |
db77b53 |
# Tests:
|
|
 |
75b2b05 |
BuildRequires: perl(IO::Handle)
|
|
 |
db77b53 |
BuildRequires: perl(PerlIO)
|
|
 |
96a8929 |
BuildRequires: perl(Test2::EventFacet::Assert)
|
|
 |
75b2b05 |
BuildRequires: perl(Test2::Formatter::TAP)
|
|
 |
db77b53 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
 |
e941be2 |
Requires: perl(Data::Dumper)
|
|
 |
9d62b33 |
Requires: perl(Importer) >= 0.024
|
|
 |
96a8929 |
Requires: perl(Module::Pluggable) >= 2.7
|
|
 |
968837e |
Requires: perl(Sub::Info) >= 0.002
|
|
 |
968837e |
# Sub::Util or Sub::Name
|
|
 |
968837e |
Suggests: perl(Sub::Util)
|
|
 |
eb0da78 |
Requires: perl(Term::Table) >= 0.002
|
|
 |
39c1fb3 |
# Test2 not used in any useful way
|
|
 |
5b83c88 |
# Test2::API version from Test2 in META
|
|
 |
5984738 |
Requires: perl(Test2::API) >= 1.302127
|
|
 |
75b2b05 |
Requires: perl(Test2::Event)
|
|
 |
968837e |
# Test2::Event::Note loaded by send_event()
|
|
 |
968837e |
Requires: perl(Test2::Event::Note)
|
|
 |
968837e |
# Test2::Event::Skip loaded by send_event()
|
|
 |
968837e |
Requires: perl(Test2::Event::Skip)
|
|
 |
96a8929 |
Requires: perl(Test2::EventFacet)
|
|
 |
2e13e4d |
Requires: perl(threads)
|
|
 |
db77b53 |
Requires: perl(utf8)
|
|
 |
6af9c0e |
%if %{with perl_Test2_Suite_enables_unicode}
|
|
 |
9d62b33 |
# Unicode::GCString for formating double-width strings
|
|
 |
db77b53 |
Recommends: perl(Unicode::GCString)
|
|
 |
6af9c0e |
%endif
|
|
 |
968837e |
# perl-Test2-AsyncSubtest-0:0.000020-1.fc28 merged
|
|
 |
968837e |
Provides: perl-Test2-AsyncSubtest = %{version}-%{release}
|
|
 |
968837e |
Obsoletes: perl-Test2-AsyncSubtest < 0.000020-2
|
|
 |
968837e |
# perl-Test2-Workflow-0:0.000018-4.fc27 merged
|
|
 |
968837e |
Provides: perl-Test2-Workflow = %{version}-%{release}
|
|
 |
968837e |
Obsoletes: perl-Test2-Workflow < 0.000018-5
|
|
 |
db77b53 |
|
|
 |
db77b53 |
# Remove under-specified dependencies
|
|
 |
96a8929 |
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Importer|Module::Pluggable|Sub::Info|Term::Table|Test2::API)\\)$
|
|
 |
db77b53 |
|
|
 |
db77b53 |
%description
|
|
 |
db77b53 |
Rich set of tools, plugins, bundles, etc. built upon the Test2 testing
|
|
 |
db77b53 |
library. If you are interested in writing Perl tests this is the distribution
|
|
 |
db77b53 |
for you.
|
|
 |
db77b53 |
|
|
 |
db77b53 |
%prep
|
|
 |
db77b53 |
%setup -q -n Test2-Suite-%{version}
|
|
 |
8771673 |
%patch0 -p1
|
|
 |
db77b53 |
|
|
 |
db77b53 |
%build
|
|
 |
5cec332 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
 |
db77b53 |
make %{?_smp_mflags}
|
|
 |
db77b53 |
|
|
 |
db77b53 |
%install
|
|
 |
db77b53 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
 |
db77b53 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
 |
db77b53 |
|
|
 |
db77b53 |
%check
|
|
 |
db77b53 |
make test
|
|
 |
db77b53 |
|
|
 |
db77b53 |
%files
|
|
 |
db77b53 |
%license LICENSE
|
|
 |
242a04a |
%doc Changes README
|
|
 |
db77b53 |
%{perl_vendorlib}/*
|
|
 |
db77b53 |
%{_mandir}/man3/*
|
|
 |
db77b53 |
|
|
 |
db77b53 |
%changelog
|
|
 |
8771673 |
* Fri Apr 12 2019 Petr Pisar <ppisar@redhat.com> - 0.000111-2
|
|
 |
8771673 |
- Remove an invalid test that went out of synchronization with Term-Table
|
|
 |
8771673 |
(bug #1699250)
|
|
 |
8771673 |
|
|
 |
e78fde6 |
* Thu Mar 15 2018 Petr Pisar <ppisar@redhat.com> - 0.000111-1
|
|
 |
e78fde6 |
- 0.000111 bump
|
|
 |
e78fde6 |
|
|
 |
13cc669 |
* Mon Mar 12 2018 Petr Pisar <ppisar@redhat.com> - 0.000108-1
|
|
 |
13cc669 |
- 0.000108 bump
|
|
 |
13cc669 |
|
|
 |
74ac270 |
* Wed Mar 07 2018 Petr Pisar <ppisar@redhat.com> - 0.000106-1
|
|
 |
74ac270 |
- 0.000106 bump
|
|
 |
74ac270 |
|
|
 |
5984738 |
* Tue Mar 06 2018 Petr Pisar <ppisar@redhat.com> - 0.000104-1
|
|
 |
5984738 |
- 0.000104 bump
|
|
 |
5984738 |
|
|
 |
e941be2 |
* Mon Mar 05 2018 Petr Pisar <ppisar@redhat.com> - 0.000102-1
|
|
 |
e941be2 |
- 0.000102 bump
|
|
 |
e941be2 |
|
|
 |
2b65f8d |
* Wed Feb 14 2018 Petr Pisar <ppisar@redhat.com> - 0.000100-1
|
|
 |
2b65f8d |
- 0.000100 bump
|
|
 |
2b65f8d |
|
|
 |
67138d7 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.000097-2
|
|
 |
67138d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
67138d7 |
|
|
 |
2e13e4d |
* Mon Dec 11 2017 Petr Pisar <ppisar@redhat.com> - 0.000097-1
|
|
 |
2e13e4d |
- 0.000097 bump
|
|
 |
2e13e4d |
|
|
 |
6af9c0e |
* Fri Dec 08 2017 Petr Pisar <ppisar@redhat.com> - 0.000094-2
|
|
 |
6af9c0e |
- Remove unused dependency on Term::ReadKey
|
|
 |
6af9c0e |
|
|
 |
968837e |
* Tue Dec 05 2017 Petr Pisar <ppisar@redhat.com> - 0.000094-1
|
|
 |
968837e |
- 0.000094 bump
|
|
 |
968837e |
|
|
 |
96a8929 |
* Mon Nov 20 2017 Petr Pisar <ppisar@redhat.com> - 0.000084-1
|
|
 |
96a8929 |
- 0.000084 bump
|
|
 |
96a8929 |
|
|
 |
1185404 |
* Fri Oct 27 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.000083-1
|
|
 |
1185404 |
- 0.000083 bump
|
|
 |
1185404 |
|
|
 |
c58d5f8 |
* Mon Oct 23 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.000082-1
|
|
 |
c58d5f8 |
- 0.000082 bump
|
|
 |
c58d5f8 |
|
|
 |
fa35f63 |
* Tue Oct 17 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.000080-1
|
|
 |
fa35f63 |
- 0.000080 bump
|
|
 |
fa35f63 |
|
|
 |
75b2b05 |
* Thu Sep 14 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.000077-1
|
|
 |
75b2b05 |
- 0.000077 bump
|
|
 |
75b2b05 |
|
|
 |
e2a7736 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.000072-2
|
|
 |
e2a7736 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
e2a7736 |
|
|
 |
fd09074 |
* Mon Jun 19 2017 Petr Pisar <ppisar@redhat.com> - 0.000072-1
|
|
 |
fd09074 |
- 0.000072 bump
|
|
 |
fd09074 |
|
|
 |
6a2c1d5 |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.000070-2
|
|
 |
6a2c1d5 |
- Perl 5.26 rebuild
|
|
 |
6a2c1d5 |
|
|
 |
32f71b8 |
* Mon Mar 20 2017 Petr Pisar <ppisar@redhat.com> - 0.000070-1
|
|
 |
32f71b8 |
- 0.000070 bump
|
|
 |
32f71b8 |
|
|
 |
5cec332 |
* Fri Mar 17 2017 Petr Pisar <ppisar@redhat.com> - 0.000069-1
|
|
 |
5cec332 |
- 0.000069 bump
|
|
 |
5cec332 |
|
|
 |
ec305f5 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.000067-2
|
|
 |
ec305f5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
 |
ec305f5 |
|
|
 |
d3376f7 |
* Wed Jan 04 2017 Petr Pisar <ppisar@redhat.com> - 0.000067-1
|
|
 |
d3376f7 |
- 0.000067 bump
|
|
 |
d3376f7 |
|
|
 |
eb0da78 |
* Tue Dec 20 2016 Petr Pisar <ppisar@redhat.com> - 0.000065-1
|
|
 |
eb0da78 |
- 0.000065 bump
|
|
 |
eb0da78 |
|
|
 |
9d62b33 |
* Mon Dec 19 2016 Petr Pisar <ppisar@redhat.com> - 0.000063-1
|
|
 |
9d62b33 |
- 0.000063 bump
|
|
 |
9d62b33 |
|
|
 |
b812da5 |
* Thu Sep 29 2016 Petr Pisar <ppisar@redhat.com> - 0.000060-1
|
|
 |
b812da5 |
- 0.000060 bump
|
|
 |
b812da5 |
|
|
 |
cc4be17 |
* Fri Sep 02 2016 Petr Pisar <ppisar@redhat.com> - 0.000058-1
|
|
 |
cc4be17 |
- 0.000058 bump
|
|
 |
cc4be17 |
|
|
 |
fe906e4 |
* Mon Aug 01 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.000055-1
|
|
 |
fe906e4 |
- 0.000055 bump
|
|
 |
fe906e4 |
|
|
 |
66e427f |
* Fri Jul 29 2016 Petr Pisar <ppisar@redhat.com> - 0.000054-1
|
|
 |
66e427f |
- 0.000054 bump
|
|
 |
66e427f |
|
|
 |
6141abd |
* Tue Jul 19 2016 Petr Pisar <ppisar@redhat.com> - 0.000052-1
|
|
 |
6141abd |
- 0.000052 bump
|
|
 |
6141abd |
|
|
 |
aeac619 |
* Mon Jul 11 2016 Petr Pisar <ppisar@redhat.com> - 0.000050-1
|
|
 |
aeac619 |
- 0.000050 bump
|
|
 |
aeac619 |
|
|
 |
e1f5e3a |
* Mon Jul 04 2016 Petr Pisar <ppisar@redhat.com> - 0.000048-1
|
|
 |
e1f5e3a |
- 0.000048 bump
|
|
 |
e1f5e3a |
|
|
 |
23553b9 |
* Tue Jun 28 2016 Petr Pisar <ppisar@redhat.com> - 0.000042-1
|
|
 |
23553b9 |
- 0.000042 bump
|
|
 |
23553b9 |
|
|
 |
f0a0a85 |
* Mon Jun 27 2016 Petr Pisar <ppisar@redhat.com> - 0.000038-1
|
|
 |
f0a0a85 |
- 0.000038 bump
|
|
 |
f0a0a85 |
|
|
 |
4cdaded |
* Mon Jun 20 2016 Petr Pisar <ppisar@redhat.com> - 0.000032-1
|
|
 |
4cdaded |
- 0.000032 bump
|
|
 |
4cdaded |
|
|
 |
9dc1d6d |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.000030-2
|
|
 |
9dc1d6d |
- Perl 5.24 rebuild
|
|
 |
9dc1d6d |
|
|
 |
ef2b681 |
* Wed May 11 2016 Petr Pisar <ppisar@redhat.com> - 0.000030-1
|
|
 |
ef2b681 |
- 0.000030 bump
|
|
 |
ef2b681 |
|
|
 |
aa30700 |
* Mon May 02 2016 Petr Pisar <ppisar@redhat.com> - 0.000029-1
|
|
 |
aa30700 |
- 0.000029 bump
|
|
 |
aa30700 |
|
|
 |
4c42964 |
* Mon Apr 18 2016 Petr Pisar <ppisar@redhat.com> - 0.000028-1
|
|
 |
4c42964 |
- 0.000028 bump
|
|
 |
4c42964 |
|
|
 |
a06c599 |
* Thu Apr 14 2016 Petr Pisar <ppisar@redhat.com> - 0.000027-1
|
|
 |
a06c599 |
- 0.000027 bump
|
|
 |
a06c599 |
|
|
 |
062b323 |
* Mon Apr 11 2016 Petr Pisar <ppisar@redhat.com> - 0.000026-1
|
|
 |
062b323 |
- 0.000026 bump
|
|
 |
062b323 |
|
|
 |
962f237 |
* Tue Apr 05 2016 Petr Pisar <ppisar@redhat.com> - 0.000025-1
|
|
 |
962f237 |
- 0.000025 bump
|
|
 |
962f237 |
|
|
 |
242a04a |
* Mon Mar 21 2016 Petr Pisar <ppisar@redhat.com> - 0.000024-1
|
|
 |
242a04a |
- 0.000024 bump
|
|
 |
242a04a |
|
|
 |
a2de678 |
* Fri Mar 18 2016 Petr Pisar <ppisar@redhat.com> - 0.000023-1
|
|
 |
a2de678 |
- 0.000023 bump
|
|
 |
a2de678 |
|
|
 |
39c1fb3 |
* Tue Mar 08 2016 Petr Pisar <ppisar@redhat.com> - 0.000022-1
|
|
 |
39c1fb3 |
- 0.000022 bump
|
|
 |
39c1fb3 |
|
|
 |
5b83c88 |
* Mon Mar 07 2016 Petr Pisar <ppisar@redhat.com> - 0.000021-1
|
|
 |
5b83c88 |
- 0.000021 bump
|
|
 |
5b83c88 |
|
|
 |
db77b53 |
* Thu Feb 11 2016 Petr Pisar <ppisar@redhat.com> 0.000020-1
|
|
 |
db77b53 |
- Specfile autogenerated by cpanspec 1.78.
|