|
|
@ -12,18 +12,17 @@
|
|
|
|
Name: perl-Test-Simple
|
|
|
|
Name: perl-Test-Simple
|
|
|
|
Summary: Basic utilities for writing tests
|
|
|
|
Summary: Basic utilities for writing tests
|
|
|
|
Epoch: 3
|
|
|
|
Epoch: 3
|
|
|
|
Version: 1.302199
|
|
|
|
Version: 1.302183
|
|
|
|
Release: 512%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
# CC0-1.0: lib/ok.pm
|
|
|
|
# CC0: lib/ok.pm
|
|
|
|
# Public Domain: lib/Test/Tutorial.pod
|
|
|
|
# Public Domain: lib/Test/Tutorial.pod
|
|
|
|
# GPL-1.0-or-later OR Artistic-1.0-Perl: the rest of the distribution
|
|
|
|
# GPL+ or Artistic: the rest of the distribution
|
|
|
|
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND CC0-1.0 AND LicenseRef-Fedora-Public-Domain
|
|
|
|
License: (GPL+ or Artistic) and CC0 and Public Domain
|
|
|
|
URL: https://metacpan.org/release/Test-Simple
|
|
|
|
URL: https://metacpan.org/release/Test-Simple
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Simple-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Simple-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# Module Build
|
|
|
|
# Module Build
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
@ -55,13 +54,11 @@ BuildRequires: perl(Term::ANSIColor)
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
BuildRequires: perl(Term::Table)
|
|
|
|
BuildRequires: perl(Term::Table)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
BuildRequires: perl(Time::HiRes)
|
|
|
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Test Suite
|
|
|
|
# Test Suite
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(if)
|
|
|
|
|
|
|
|
BuildRequires: perl(IO::Pipe)
|
|
|
|
BuildRequires: perl(IO::Pipe)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(threads)
|
|
|
|
BuildRequires: perl(threads)
|
|
|
@ -79,7 +76,8 @@ BuildRequires: perl(Test::Pod) >= 0.95
|
|
|
|
BuildRequires: perl(Test::Script)
|
|
|
|
BuildRequires: perl(Test::Script)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# Dependencies
|
|
|
|
# Runtime
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
Requires: perl(JSON::PP)
|
|
|
|
Requires: perl(JSON::PP)
|
|
|
|
%if %{with perl_Test_Simple_enables_Module_Pluggable} && !%{defined perl_bootstrap}
|
|
|
|
%if %{with perl_Test_Simple_enables_Module_Pluggable} && !%{defined perl_bootstrap}
|
|
|
@ -94,37 +92,14 @@ Requires: perl(Term::Table)
|
|
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
|
|
# Remove private test modules
|
|
|
|
|
|
|
|
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
|
|
|
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Dev::Null|MyOverload|MyTest|SmallTest|Test::Builder::NoOutput|Test::Simple::Catch|TieOut|main::HBase|main::HBase::Wrapped)\\)$
|
|
|
|
|
|
|
|
%if %{without perl_Test_Simple_enables_optional_test}
|
|
|
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Test::Script|Test::Class)\\)$
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This package provides the bulk of the core testing facilities. For more
|
|
|
|
This package provides the bulk of the core testing facilities. For more
|
|
|
|
information, see perldoc for Test::Simple, Test::More, etc.
|
|
|
|
information, see perldoc for Test::Simple, Test::More, etc.
|
|
|
|
|
|
|
|
|
|
|
|
This package is the CPAN component of the dual-lifed core package Test-Simple.
|
|
|
|
This package is the CPAN component of the dual-lifed core package Test-Simple.
|
|
|
|
|
|
|
|
|
|
|
|
%package tests
|
|
|
|
|
|
|
|
Summary: Tests for %{name}
|
|
|
|
|
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
Requires: perl-Test-Harness
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description tests
|
|
|
|
|
|
|
|
Tests from %{name}. Execute them
|
|
|
|
|
|
|
|
with "%{_libexecdir}/%{name}/test".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Test-Simple-%{version}
|
|
|
|
%setup -q -n Test-Simple-%{version}
|
|
|
|
# Help generators to recognize Perl scripts
|
|
|
|
|
|
|
|
for F in $(find t/ -name '*.t'); do
|
|
|
|
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
|
|
|
|
|
|
|
chmod +x "$F"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
# Update line after previous update
|
|
|
|
|
|
|
|
perl -pi -e "s/line 9/line 10/" t/Legacy_And_Test2/diag_event_on_ok.t
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
|
|
@ -133,19 +108,6 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
%{make_install}
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
# Install tests
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
# Remove author tests
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libexecdir}/%{name}/t/00compile.t
|
|
|
|
|
|
|
|
# Remove tests, which are not compatible with running outside of t/ directory
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libexecdir}/%{name}/t/Legacy/More.t
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libexecdir}/%{name}/t/Legacy/fail-more.t
|
|
|
|
|
|
|
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
|
|
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
cd %{_libexecdir}/%{name} && exec prove -I . -r -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test %{!?perl_bootstrap:AUTHOR_TESTING=1}
|
|
|
|
make test %{!?perl_bootstrap:AUTHOR_TESTING=1}
|
|
|
@ -237,137 +199,13 @@ make test %{!?perl_bootstrap:AUTHOR_TESTING=1}
|
|
|
|
%{_mandir}/man3/Test2::Util::HashBase.3*
|
|
|
|
%{_mandir}/man3/Test2::Util::HashBase.3*
|
|
|
|
%{_mandir}/man3/Test2::Util::Trace.3*
|
|
|
|
%{_mandir}/man3/Test2::Util::Trace.3*
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3:1.302199-512
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3:1.302183-4
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
* Mon Aug 26 2024 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302199-512
|
|
|
|
|
|
|
|
- Fix filters of dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302199-511
|
|
|
|
|
|
|
|
- Perl 5.40 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302199-510
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302199-1
|
|
|
|
|
|
|
|
- Update to 1.302199
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 12 2024 Michal Josef Špaček <mspacek@redhat.com> - 3:1.302198-6
|
|
|
|
|
|
|
|
- Fix automatic detection of requires in *tests package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 11 2024 Michal Josef Špaček <mspacek@redhat.com> - 3:1.302198-5
|
|
|
|
|
|
|
|
- Package tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3:1.302198-4
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302198-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302198-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 1 2023 Paul Howarth <paul@city-fan.org> - 3:1.302198-1
|
|
|
|
|
|
|
|
- Update to 1.302198
|
|
|
|
|
|
|
|
- Remove use of defined-or operator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 29 2023 Paul Howarth <paul@city-fan.org> - 3:1.302197-1
|
|
|
|
|
|
|
|
- Update to 1.302197
|
|
|
|
|
|
|
|
- Add ability to attach timestamps to trace objects via API or environment
|
|
|
|
|
|
|
|
variable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 25 2023 Paul Howarth <paul@city-fan.org> - 3:1.302196-1
|
|
|
|
|
|
|
|
- Update to 1.302196
|
|
|
|
|
|
|
|
- Raise error on missing Hub ID, which should never happen (GH#882)
|
|
|
|
|
|
|
|
- Fix handling of VSTRING and LVALUE refs in is_deeply() (GH#918)
|
|
|
|
|
|
|
|
- Merge several documentation fixes (GH#910, GH#911, GH#912)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302195-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 12 2023 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302195-4
|
|
|
|
|
|
|
|
- Perl 5.38 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302195-3
|
|
|
|
|
|
|
|
- Perl 5.38 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 25 2023 Paul Howarth <paul@city-fan.org> - 3:1.302195-2
|
|
|
|
|
|
|
|
- Use SPDX-format license tag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 28 2023 Paul Howarth <paul@city-fan.org> - 3:1.302195-1
|
|
|
|
|
|
|
|
- Update to 1.302195
|
|
|
|
|
|
|
|
- Fix done_testing(0) producing 2 plans and an incorrect message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 15 2023 Paul Howarth <paul@city-fan.org> - 3:1.302194-1
|
|
|
|
|
|
|
|
- Update to 1.302194
|
|
|
|
|
|
|
|
- Fix failing test on 5.10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 6 2023 Paul Howarth <paul@city-fan.org> - 3:1.302193-1
|
|
|
|
|
|
|
|
- Update to 1.302193
|
|
|
|
|
|
|
|
- Deprecate isn't()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 2 2023 Paul Howarth <paul@city-fan.org> - 3:1.302192-1
|
|
|
|
|
|
|
|
- Update to 1.302192
|
|
|
|
|
|
|
|
- Silence deprecation warning when testing smartmatch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302191-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302191-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 11 2022 Paul Howarth <paul@city-fan.org> - 3:1.302191-1
|
|
|
|
|
|
|
|
- Update to 1.302191
|
|
|
|
|
|
|
|
- CI fixes
|
|
|
|
|
|
|
|
- Avoid failing when printing diagnostic info comparing partial overload
|
|
|
|
|
|
|
|
objects
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302190-489
|
|
|
|
|
|
|
|
- Perl 5.36 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302190-488
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Mar 5 2022 Paul Howarth <paul@city-fan.org> - 3:1.302190-1
|
|
|
|
|
|
|
|
- Update to 1.302190
|
|
|
|
|
|
|
|
- Fix subtest times to be hi-res
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 25 2022 Paul Howarth <paul@city-fan.org> - 3:1.302189-1
|
|
|
|
|
|
|
|
- Update to 1.302189
|
|
|
|
|
|
|
|
- GH#890, GH#891: Methods used in overload should always be invoked with 3
|
|
|
|
|
|
|
|
parameters
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302188-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 29 2021 Paul Howarth <paul@city-fan.org> - 3:1.302188-1
|
|
|
|
|
|
|
|
- Update to 1.302188
|
|
|
|
|
|
|
|
- Fix for non-gcc compilers on 5.10.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Sep 18 2021 Paul Howarth <paul@city-fan.org> - 3:1.302187-1
|
|
|
|
|
|
|
|
- Update to 1.302187
|
|
|
|
|
|
|
|
- Fix tests for core boolean support
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 27 2021 Paul Howarth <paul@city-fan.org> - 3:1.302186-1
|
|
|
|
|
|
|
|
- Update to 1.302186
|
|
|
|
|
|
|
|
- Add start/stop timestamps to subtests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302185-479
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302185-478
|
|
|
|
|
|
|
|
- Perl 5.34 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.302185-477
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 20 2021 Paul Howarth <paul@city-fan.org> - 3:1.302185-1
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3:1.302183-3
|
|
|
|
- Update to 1.302185
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Fix Test::Builder->skip to stringify arguments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302183-2
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3:1.302183-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|