Fix test case error

This commit is contained in:
weiwei_150212 2020-08-11 15:53:02 +08:00 committed by jinzhimin369
parent a4b1cf24ae
commit 5a2c2048da

View File

@ -2,7 +2,7 @@ Name: perl-Test-Simple
Summary: Basic utilities for writing tests
Epoch: 2
Version: 1.302175
Release: 1
Release: 2
License: (GPL+ or Artistic) and CC0 and Public Domain
URL: https://metacpan.org/release/Test-Simple
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Simple-%{version}.tar.gz
@ -12,6 +12,7 @@ BuildRequires: coreutils, make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Term::Table)
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
Requires: perl(Data::Dumper)
@ -41,7 +42,7 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%{_fixperms} %{buildroot}/*
%check
make test AUTHOR_TESTING=0
make test AUTHOR_TESTING=1
%files
%defattr(-,root,root)
@ -64,6 +65,9 @@ make test AUTHOR_TESTING=0
%{_mandir}/man3/Test*
%changelog
* Tue Aug 11 2020 dingyue <dingyue5@huawei.com> - 1.302175-2
- Fix test case error.
* Wed Jul 22 2020 dingyue <dingyue5@huawei.com> - 1.302175-1
- Type:enhancement
- ID:NA