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