Blame SPECS/perl-Test-Harness.spec

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