Blame SPECS/perl-Test-Harness.spec

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