|
|
ca1bc6 |
# Run optional tests
|
|
|
ca1bc6 |
%if ! (0%{?rhel})
|
|
|
ca1bc6 |
%bcond_without perl_Test_Harness_enables_optional_test
|
|
|
ca1bc6 |
%else
|
|
|
ca1bc6 |
%bcond_with perl_Test_Harness_enables_optional_test
|
|
|
ca1bc6 |
%endif
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
Name: perl-Test-Harness
|
|
|
ca1bc6 |
Epoch: 1
|
|
|
ca1bc6 |
Version: 3.42
|
|
|
ca1bc6 |
Release: 2%{?dist}
|
|
|
ca1bc6 |
Summary: Run Perl standard test scripts with statistics
|
|
|
ca1bc6 |
License: GPL+ or Artistic
|
|
|
ca1bc6 |
URL: http://search.cpan.org/dist/Test-Harness/
|
|
|
ca1bc6 |
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/Test-Harness-%{version}.tar.gz
|
|
|
ca1bc6 |
# Remove hard-coded shell bangs
|
|
|
ca1bc6 |
Patch0: Test-Harness-3.38-Remove-shell-bangs.patch
|
|
|
ca1bc6 |
BuildArch: noarch
|
|
|
ca1bc6 |
BuildRequires: make
|
|
|
ca1bc6 |
BuildRequires: perl-generators
|
|
|
ca1bc6 |
BuildRequires: perl-interpreter
|
|
|
ca1bc6 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
ca1bc6 |
BuildRequires: perl(strict)
|
|
|
ca1bc6 |
BuildRequires: perl(warnings)
|
|
|
ca1bc6 |
# Run-time:
|
|
|
ca1bc6 |
BuildRequires: perl(base)
|
|
|
ca1bc6 |
BuildRequires: perl(Benchmark)
|
|
|
ca1bc6 |
BuildRequires: perl(Carp)
|
|
|
ca1bc6 |
BuildRequires: perl(Config)
|
|
|
ca1bc6 |
BuildRequires: perl(constant)
|
|
|
ca1bc6 |
BuildRequires: perl(Exporter)
|
|
|
ca1bc6 |
BuildRequires: perl(File::Basename)
|
|
|
ca1bc6 |
BuildRequires: perl(File::Find)
|
|
|
ca1bc6 |
BuildRequires: perl(File::Path)
|
|
|
ca1bc6 |
BuildRequires: perl(File::Spec)
|
|
|
ca1bc6 |
BuildRequires: perl(Getopt::Long)
|
|
|
ca1bc6 |
BuildRequires: perl(IO::Handle)
|
|
|
ca1bc6 |
BuildRequires: perl(IO::Select)
|
|
|
ca1bc6 |
BuildRequires: perl(POSIX)
|
|
|
ca1bc6 |
BuildRequires: perl(Text::ParseWords)
|
|
|
ca1bc6 |
# Optional run-time:
|
|
|
ca1bc6 |
BuildRequires: perl(Encode)
|
|
|
ca1bc6 |
# Keep Pod::Usage 1.12 really optional
|
|
|
ca1bc6 |
BuildRequires: perl(Term::ANSIColor)
|
|
|
ca1bc6 |
BuildRequires: perl(Time::HiRes)
|
|
|
ca1bc6 |
# Tests:
|
|
|
ca1bc6 |
BuildRequires: perl(Data::Dumper)
|
|
|
ca1bc6 |
# Dev::Null bundled for bootstrap
|
|
|
ca1bc6 |
BuildRequires: perl(File::Spec::Functions)
|
|
|
ca1bc6 |
BuildRequires: perl(IO::File)
|
|
|
ca1bc6 |
BuildRequires: perl(lib)
|
|
|
ca1bc6 |
BuildRequires: perl(Symbol)
|
|
|
ca1bc6 |
BuildRequires: perl(Test::More)
|
|
|
ca1bc6 |
# Optional tests:
|
|
|
ca1bc6 |
%if %{with perl_Test_Harness_enables_optional_test}
|
|
|
ca1bc6 |
BuildRequires: perl(CPAN::Meta::YAML)
|
|
|
ca1bc6 |
BuildRequires: perl(File::Temp)
|
|
|
ca1bc6 |
%if !%{defined perl_bootstrap}
|
|
|
ca1bc6 |
BuildRequires: perl(TAP::Formatter::HTML) >= 0.10
|
|
|
ca1bc6 |
BuildRequires: perl(TAP::Harness::Archive)
|
|
|
ca1bc6 |
BuildRequires: perl(YAML)
|
|
|
ca1bc6 |
%endif
|
|
|
ca1bc6 |
%endif
|
|
|
ca1bc6 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
ca1bc6 |
Suggests: perl(Term::ANSIColor)
|
|
|
ca1bc6 |
Suggests: perl(Time::HiRes)
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
# Filter example dependencies
|
|
|
ca1bc6 |
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}^%{_datadir}/doc
|
|
|
ca1bc6 |
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_datadir}/doc
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
%description
|
|
|
ca1bc6 |
This package allows tests to be run and results automatically aggregated and
|
|
|
ca1bc6 |
output to STDOUT.
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
Although, for historical reasons, the Test-Harness distribution takes its name
|
|
|
ca1bc6 |
from this module it now exists only to provide TAP::Harness with an interface
|
|
|
ca1bc6 |
that is somewhat backwards compatible with Test::Harness 2.xx. If you're
|
|
|
ca1bc6 |
writing new code consider using TAP::Harness directly instead.
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
%prep
|
|
|
ca1bc6 |
%setup -q -n Test-Harness-%{version}
|
|
|
ca1bc6 |
%patch0 -p1
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
%build
|
|
|
ca1bc6 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
ca1bc6 |
make %{?_smp_mflags}
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
%install
|
|
|
ca1bc6 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
ca1bc6 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
%check
|
|
|
ca1bc6 |
make test
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
%files
|
|
|
ca1bc6 |
%doc Changes Changes-2.64 examples README
|
|
|
ca1bc6 |
%{perl_vendorlib}/*
|
|
|
ca1bc6 |
%{_bindir}/*
|
|
|
ca1bc6 |
%{_mandir}/man1/*
|
|
|
ca1bc6 |
%{_mandir}/man3/*
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
%changelog
|
|
|
ca1bc6 |
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.42-2
|
|
|
ca1bc6 |
- Rebuild with enable hardening (bug #1636329)
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Tue Mar 20 2018 Petr Pisar <ppisar@redhat.com> - 1:3.42-1
|
|
|
ca1bc6 |
- 3.42 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Wed Feb 28 2018 Petr Pisar <ppisar@redhat.com> - 1:3.41-1
|
|
|
ca1bc6 |
- 3.41 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.39-5
|
|
|
ca1bc6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.39-4
|
|
|
ca1bc6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.39-3
|
|
|
ca1bc6 |
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.39-2
|
|
|
ca1bc6 |
- Perl 5.26 rebuild
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Thu Apr 06 2017 Petr Pisar <ppisar@redhat.com> - 3.39-1
|
|
|
ca1bc6 |
- 3.39 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Tue Mar 14 2017 Petr Pisar <ppisar@redhat.com> - 3.38-1
|
|
|
ca1bc6 |
- 3.38 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.36-369
|
|
|
ca1bc6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Tue Sep 13 2016 Petr Pisar <ppisar@redhat.com> - 3.36-368
|
|
|
ca1bc6 |
- Remove old obsoleting perl-TAP-Harness-Env
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Wed Aug 03 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.36-367
|
|
|
ca1bc6 |
- Avoid loading optional modules from default . (CVE-2016-1238)
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.36-366
|
|
|
ca1bc6 |
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.36-365
|
|
|
ca1bc6 |
- Increase release to favour standalone package
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.36-2
|
|
|
ca1bc6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Wed Jan 06 2016 Petr Pisar <ppisar@redhat.com> - 3.36-1
|
|
|
ca1bc6 |
- 3.36 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.35-347
|
|
|
ca1bc6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.35-346
|
|
|
ca1bc6 |
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.35-345
|
|
|
ca1bc6 |
- Increase release to favour standalone package
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.35-2
|
|
|
ca1bc6 |
- Perl 5.22 rebuild
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Mon Feb 02 2015 Petr Pisar <ppisar@redhat.com> - 3.35-1
|
|
|
ca1bc6 |
- 3.35 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Thu Nov 13 2014 Petr Pisar <ppisar@redhat.com> - 3.34-1
|
|
|
ca1bc6 |
- 3.34 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.33-3
|
|
|
ca1bc6 |
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.33-2
|
|
|
ca1bc6 |
- Perl 5.20 rebuild
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Mon Aug 18 2014 Petr Pisar <ppisar@redhat.com> - 3.33-1
|
|
|
ca1bc6 |
- 3.33 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Thu Jun 12 2014 Petr Pisar <ppisar@redhat.com> - 3.32-1
|
|
|
ca1bc6 |
- 3.32 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Mon Jun 09 2014 Petr Pisar <ppisar@redhat.com> - 3.31-1
|
|
|
ca1bc6 |
- 3.31 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.30-3
|
|
|
ca1bc6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Thu Feb 27 2014 Petr Pisar <ppisar@redhat.com> - 3.30-2
|
|
|
ca1bc6 |
- Obsolete perl-TAP-Harness-Env (bug #1067098)
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Mon Nov 18 2013 Petr Pisar <ppisar@redhat.com> - 3.30-1
|
|
|
ca1bc6 |
- 3.30 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Mon Oct 14 2013 Petr Pisar <ppisar@redhat.com> - 3.29-1
|
|
|
ca1bc6 |
- 3.29 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.28-3
|
|
|
ca1bc6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3.28-2
|
|
|
ca1bc6 |
- Perl 5.18 rebuild
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Fri May 03 2013 Petr Pisar <ppisar@redhat.com> - 3.28-1
|
|
|
ca1bc6 |
- 3.28 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Thu May 02 2013 Petr Pisar <ppisar@redhat.com> - 3.27-1
|
|
|
ca1bc6 |
- 3.27 bump
|
|
|
ca1bc6 |
|
|
|
ca1bc6 |
* Mon Mar 18 2013 Petr Pisar <ppisar@redhat.com> 3.26-1
|
|
|
ca1bc6 |
- Specfile autogenerated by cpanspec 1.78.
|