Name: perl-Test-Harness
Version: 3.28
Release: 3%{?dist}
Summary: Run Perl standard test scripts with statistics
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Harness/
Source0: http://www.cpan.org/authors/id/O/OV/OVID/Test-Harness-%{version}.tar.gz
# Do not warn on tainted test without PERL5LIB environment variable,
# bug #1091376, CPAN RT#85106, in 3.29
Patch0: Test-Harness-3.28-Do-not-warn-on-tainted-test-without-PERL5LIB-envirom.patch
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
# Run-time:
BuildRequires: perl(Benchmark)
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IO::Select)
BuildRequires: perl(POSIX)
BuildRequires: perl(vars)
# Optional run-time:
BuildRequires: perl(Encode)
# Keep Pod::Usage 1.12 really optional
BuildRequires: perl(Term::ANSIColor)
BuildRequires: perl(Time::HiRes)
# Tests:
BuildRequires: perl(base)
BuildRequires: perl(Data::Dumper)
# Dev::Null bundled for bootstrap
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(IO::File)
BuildRequires: perl(lib)
BuildRequires: perl(Symbol)
# Test::Builder bundled for bootstrap
# Test::Builder::Module bundled for bootstrap
BuildRequires: perl(Test::More)
# Optional tests:
BuildRequires: perl(File::Temp)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Filter example dependencies
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}^%{_datadir}/doc
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_datadir}/doc
%description
This package allows tests to be run and results automatically aggregated and
output to STDOUT.
Although, for historical reasons, the Test-Harness distribution takes its name
from this module it now exists only to provide TAP::Harness with an interface
that is somewhat backwards compatible with Test::Harness 2.xx. If you're
writing new code consider using TAP::Harness directly instead.
%prep
%setup -q -n Test-Harness-%{version}
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes Changes-2.64 examples README
%{perl_vendorlib}/*
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
* Mon Apr 28 2014 Petr Pisar <ppisar@redhat.com> - 3.28-3
- Do not warn on tainted test without PERL5LIB environment variable
(bug #1091376)
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.28-2
- Mass rebuild 2013-12-27
* Fri May 03 2013 Petr Pisar <ppisar@redhat.com> - 3.28-1
- 3.28 bump
* Thu May 02 2013 Petr Pisar <ppisar@redhat.com> - 3.27-1
- 3.27 bump
* Mon Mar 18 2013 Petr Pisar <ppisar@redhat.com> 3.26-1
- Specfile autogenerated by cpanspec 1.78.