Compare commits

...

No commits in common. 'c8-stream-5.26' and 'c9' have entirely different histories.

2
.gitignore vendored

@ -1 +1 @@
SOURCES/Test-Simple-1.302135.tar.gz
SOURCES/Test-Simple-1.302183.tar.gz

@ -1 +1 @@
e5914c2cfc55a7009c6f27b83d404fb070a7e83b SOURCES/Test-Simple-1.302135.tar.gz
fbcf81383233adc08982e04e37c85d23e6a75721 SOURCES/Test-Simple-1.302183.tar.gz

@ -1,4 +1,9 @@
%if ! (0%{?rhel})
%bcond_without perl_Test_Simple_enables_Module_Pluggable
%else
%bcond_with perl_Test_Simple_enables_Module_Pluggable
%endif
%if ! (0%{?rhel})
%bcond_without perl_Test_Simple_enables_optional_test
%else
%bcond_with perl_Test_Simple_enables_optional_test
@ -6,15 +11,15 @@
Name: perl-Test-Simple
Summary: Basic utilities for writing tests
Epoch: 1
Version: 1.302135
Release: 1%{?dist}
Epoch: 3
Version: 1.302183
Release: 4%{?dist}
# CC0: lib/ok.pm
# Public Domain: lib/Test/Tutorial.pod
# GPL+ or Artistic: the rest of the distribution
License: (GPL+ or Artistic) and CC0 and Public Domain
URL: http://search.cpan.org/dist/Test-Simple
Source0: http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-Simple-%{version}.tar.gz
URL: https://metacpan.org/release/Test-Simple
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Simple-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@ -31,7 +36,13 @@ BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(JSON::PP)
BuildRequires: perl(List::Util)
%if %{with perl_Test_Simple_enables_Module_Pluggable} && !%{defined perl_bootstrap}
BuildRequires: perl(Module::Pluggable)
%endif
# mro used since Perl 5.010
BuildRequires: perl(mro)
BuildRequires: perl(overload)
BuildRequires: perl(PerlIO) >= 1.02
BuildRequires: perl(POSIX)
@ -40,7 +51,9 @@ BuildRequires: perl(Storable)
BuildRequires: perl(strict)
BuildRequires: perl(Symbol)
BuildRequires: perl(Term::ANSIColor)
BuildRequires: perl(threads::shared)
%if !%{defined perl_bootstrap}
BuildRequires: perl(Term::Table)
%endif
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Test Suite
@ -53,7 +66,6 @@ BuildRequires: perl(threads)
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120920
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(IPC::SysV)
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(POSIX)
BuildRequires: perl(Test::Harness) >= 2.03
@ -67,12 +79,16 @@ BuildRequires: perl(Test::Script)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Data::Dumper)
Requires: perl(JSON::PP)
%if %{with perl_Test_Simple_enables_Module_Pluggable} && !%{defined perl_bootstrap}
Suggests: perl(Module::Pluggable)
%endif
# mro used since Perl 5.010
Requires: perl(mro)
Requires: perl(Term::ANSIColor)
Requires: perl(threads::shared)
# Test2 integrated at 1.302014 (Fedora 25)
Obsoletes: perl-Test2 < %{version}-%{release}
Provides: perl-Test2 = %{version}-%{release}
%if !%{defined perl_bootstrap}
Requires: perl(Term::Table)
%endif
%{?perl_default_filter}
@ -87,14 +103,14 @@ This package is the CPAN component of the dual-lifed core package Test-Simple.
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
make %{?_smp_mflags}
%{make_build}
%install
make install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} -c %{buildroot}
%check
make test AUTHOR_TESTING=1
make test %{!?perl_bootstrap:AUTHOR_TESTING=1}
%files
%license LICENSE
@ -131,6 +147,10 @@ make test AUTHOR_TESTING=1
%{_mandir}/man3/Test2::API::Breakage.3*
%{_mandir}/man3/Test2::API::Context.3*
%{_mandir}/man3/Test2::API::Instance.3*
%{_mandir}/man3/Test2::API::InterceptResult.3*
%{_mandir}/man3/Test2::API::InterceptResult::Event.3*
%{_mandir}/man3/Test2::API::InterceptResult::Hub.3*
%{_mandir}/man3/Test2::API::InterceptResult::Squasher.3*
%{_mandir}/man3/Test2::API::Stack.3*
%{_mandir}/man3/Test2::Event.3*
%{_mandir}/man3/Test2::Event::Bail.3*
@ -156,6 +176,7 @@ make test AUTHOR_TESTING=1
%{_mandir}/man3/Test2::EventFacet::Error.3*
%{_mandir}/man3/Test2::EventFacet::Hub.3*
%{_mandir}/man3/Test2::EventFacet::Info.3*
%{_mandir}/man3/Test2::EventFacet::Info::Table.3*
%{_mandir}/man3/Test2::EventFacet::Meta.3*
%{_mandir}/man3/Test2::EventFacet::Parent.3*
%{_mandir}/man3/Test2::EventFacet::Plan.3*
@ -179,6 +200,194 @@ make test AUTHOR_TESTING=1
%{_mandir}/man3/Test2::Util::Trace.3*
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3:1.302183-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3:1.302183-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302183-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Oct 22 2020 Paul Howarth <paul@city-fan.org> - 3:1.302183-1
- Update to 1.302183
- Avoid closing over scalar in BEGIN block in cmp_ok eval
* Thu Oct 15 2020 Petr Pisar <ppisar@redhat.com> - 3:1.302182-2
- Demote Module::Pluggable hard dependency to Suggests level
* Tue Oct 6 2020 Paul Howarth <paul@city-fan.org> - 3:1.302182-1
- Update to 1.302182
- Fix 5.6 support
- Fix fragile %%INC handling in a test
* Mon Sep 14 2020 Paul Howarth <paul@city-fan.org> - 3:1.302181-1
- Update to 1.302181
- Put try_sig_mask back where it goes (and add test to prevent this in the
future)
- Drop new List::Util requirement back down
* Mon Sep 14 2020 Paul Howarth <paul@city-fan.org> - 3:1.302180-1
- Update to 1.302180
- Move try_sig_mask to the only module that uses it
- Inherit warnings bitmask in cmp_ok string eval
- Update copyright date
- Improved API for intercept {} and what it returns
- Bump minimum List::Util version (for uniq)
* Fri Aug 07 2020 Petr Pisar <ppisar@redhat.com> - 3:1.302177-1
- Update to 1.302177
- Minor fix to author downstream test
- No significant changes since the last trial
- Fix Test::More's $TODO inside intercept (#862)
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302175-458
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302175-457
- Perl 5.32 re-rebuild of bootstrapped packages
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302175-456
- Increase release to favour standalone package
* Tue Apr 14 2020 Paul Howarth <paul@city-fan.org> - 3:1.302175-1
- Update to 1.302175
- Fix typos in POD
- Fix incorrect Test2::Hub documentation
- Fix test that needed . in @INC on Windows
- Fix Breakage test to show more info
* Tue Mar 31 2020 Paul Howarth <paul@city-fan.org> - 3:1.302174-1
- Update to 1.302174
- Fall back to Data::Dumper if JSON::PP is not available during IPC errors
* Fri Mar 27 2020 Paul Howarth <paul@city-fan.org> - 3:1.302173-1
- Update to 1.302173
- Add extra debugging for "Not all files from hub '...' have been collected!"
* Mon Mar 9 2020 Paul Howarth <paul@city-fan.org> - 3:1.302172-1
- Update to 1.302172
- Fix transition documentation
- Fix warnings from info/debug tap
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302171-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Jan 19 2020 Paul Howarth <paul@city-fan.org> - 3:1.302171-1
- Update to 1.302171
- Fix 5.6
- Fix EBCDIC
- Upgrade Object::HashBase
- Clarify error message in test (GH#841)
- Spelling/Grammar fixes
* Thu Jan 02 2020 Petr Pisar <ppisar@redhat.com> - 3:1.302170-2
- Require mro
* Tue Dec 3 2019 Paul Howarth <paul@city-fan.org> - 3:1.302170-1
- Update to 1.302170
- Fix unwanted END phase event (GH#840)
* Tue Nov 19 2019 Paul Howarth <paul@city-fan.org> - 3:1.302169-1
- Update to 1.302169
- Update inlined Object::HashBase
- Avoid 'used only once' warnings in BEGIN and END blocks
* Fri Sep 6 2019 Paul Howarth <paul@city-fan.org> - 3:1.302168-1
- Update to 1.302168
- Fix typo in a Test2::API::Breakage warning
- Delay loading of Term::Table until needed
* Mon Aug 26 2019 Paul Howarth <paul@city-fan.org> - 3:1.302167-1
- Update to 1.302167
- Add test2_is_testing_done api method
- Fix string compare warning
* Fri Aug 16 2019 Paul Howarth <paul@city-fan.org> - 3:1.302166-1
- Update to 1.302166
- Better diagnostics when a context is destroyed unexpectedly
- Add an event to notify when END phase starts
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302164-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302164-3
- Perl 5.30 re-rebuild of bootstrapped packages
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302164-2
- Perl 5.30 rebuild
* Sun Apr 28 2019 Paul Howarth <paul@city-fan.org> - 2:1.302164-1
- Update to 1.302164
- Do not use threads::shared in Test::Tester::Capture (GH#826)
- Add missing version info to Info/Table
- Fix event in global destruction bug (GH#827)
- Proper fix for todo = '' (GH#812, GH#829)
- Modernize spec using %%{make_build} and %%{make_install}
- Drop obsoletes/provides for perl-Test2 dating back to Fedora 25
* Wed Feb 6 2019 Paul Howarth <paul@city-fan.org> - 2:1.302162-1
- Update to 1.302162
- Remove SHM Optimization
- Typo fixes in documentation
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.302160-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jan 19 2019 Paul Howarth <paul@city-fan.org> - 2:1.302160-1
- Update to 1.302160
- Fix minor typos and missing doc sections
- Add table support in info facet and TAP formatter
- Fix TAP test on Windows
- Fix math errors in table indentation
- Devel requires Term::Table
- Add table support to ctx->fail and ctx->fail_and_return
- Fix Instance.t on haiku-os
* Tue Jan 8 2019 Paul Howarth <paul@city-fan.org> - 2:1.302156-1
- Update to 1.302156
- Fix Windows fork+test failure (GH#814)
- Documentation updates (GH#819)
- Fix verbose TAP newline regression (GH#810)
- Fix local $TODO bugs (GH#812, GH#817)
- Fix shm read warning (GH#815)
- Merge doc fix PR's from magnolia-k
- Fix failure to check error code on shmwrite (GH#815)
- Fix localization error in new test (GH#820)
- Fix SHM test to work on machines without SHM
- Fix locale errors in Instance.t
- Windows test fixes
- Perl 5.6 test fixes
- Add trace to SHM error when possible
- Fix test not to fail in non-english locales
* Sun Dec 2 2018 Paul Howarth <paul@city-fan.org> - 2:1.302141-1
- Update to 1.302141
- Fix bug where IPC init failed in preload+fork environments
* Tue Aug 14 2018 Paul Howarth <paul@city-fan.org> - 2:1.302140-1
- Update to 1.302140
- Mask warning from the recent IPC fix generated when threaded Test tools are
loaded at run-time
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.302138-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jul 12 2018 Paul Howarth <paul@city-fan.org> - 2:1.302138-1
- Update to 1.302138
- Make it safe to fork before events in IPC
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.302136-3
- Perl 5.28 re-rebuild of bootstrapped packages
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.302136-2
- Perl 5.28 rebuild
* Thu Apr 19 2018 Paul Howarth <paul@city-fan.org> - 1:1.302136-1
- Update to 1.302136
- Add test2_add_callback_testing_done to Test2::API
* Fri Mar 30 2018 Paul Howarth <paul@city-fan.org> - 1:1.302135-1
- Update to 1.302135
- Make sure all hubs, events, and contexts get a unique (per run) id

Loading…
Cancel
Save