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