2019-09-30 11:13:22 -04:00
|
|
|
Name: perl-Test-Harness
|
2022-04-26 16:47:09 +08:00
|
|
|
Epoch: 2
|
2020-07-23 18:26:09 +08:00
|
|
|
Version: 3.43_02
|
2022-04-26 16:47:09 +08:00
|
|
|
Release: 2
|
2019-09-30 11:13:22 -04:00
|
|
|
Summary: Run Perl standard test scripts with statistics
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Test-Harness
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/Test-Harness-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
2019-12-25 16:03:30 +08:00
|
|
|
BuildRequires: make perl
|
2019-09-30 11:13:22 -04:00
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
BuildRequires: perl(CPAN::Meta::YAML)
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Suggests: perl(Term::ANSIColor)
|
|
|
|
|
Suggests: perl(Time::HiRes)
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n Test-Harness-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
2019-12-25 16:03:30 +08:00
|
|
|
%{_fixperms} %{buildroot}/*
|
2019-09-30 11:13:22 -04:00
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc Changes Changes-2.64 README
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
%files help
|
|
|
|
|
%doc examples
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-04-26 16:47:09 +08:00
|
|
|
* Tue Apr 26 2022 renhongxun <renhongxun@h-partners.com> -2:3.43_02-2
|
|
|
|
|
- update epoch to 2 just for upgrading and no function changed
|
|
|
|
|
|
2020-07-23 18:26:09 +08:00
|
|
|
* Wed Jul 22 2020 dingyue <dingyue5@huawei.com> - 3.43_02-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:NA
|
|
|
|
|
|
2020-01-12 15:34:51 +08:00
|
|
|
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.43_01-3
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete redundant file
|
|
|
|
|
|
2019-12-25 16:03:30 +08:00
|
|
|
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.43_01-2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:change mod of files
|
|
|
|
|
|
2019-09-30 11:13:22 -04:00
|
|
|
* Thu Aug 29 2019 hexiaowen <hexiaowen@huawei.com> - 3.43_01-1
|
|
|
|
|
- Package init
|