From f5d850865d82dd05b7430be7ed4a82e1633d6371 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: May 03 2013 08:51:27 +0000 Subject: import perl-Test-Harness-3.28-1.el7.src.rpm --- diff --git a/.perl-Test-Harness.metadata b/.perl-Test-Harness.metadata new file mode 100644 index 0000000..482bcd6 --- /dev/null +++ b/.perl-Test-Harness.metadata @@ -0,0 +1 @@ +b357aa5daab191e379a1114eda9d05b87c166f6c SOURCES/Test-Harness-3.28.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Test-Harness.spec b/SPECS/perl-Test-Harness.spec new file mode 100644 index 0000000..030f778 --- /dev/null +++ b/SPECS/perl-Test-Harness.spec @@ -0,0 +1,91 @@ +Name: perl-Test-Harness +Version: 3.28 +Release: 1%{?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 +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} + +%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 +* Fri May 03 2013 Petr Pisar - 3.28-1 +- 3.28 bump + +* Thu May 02 2013 Petr Pisar - 3.27-1 +- 3.27 bump + +* Mon Mar 18 2013 Petr Pisar 3.26-1 +- Specfile autogenerated by cpanspec 1.78.