Disable author tests and do not add optional run-require Term::Table when bootstraping
This commit is contained in:
parent
29e240cb77
commit
65a5f30932
@ -40,7 +40,9 @@ BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Symbol)
|
||||
BuildRequires: perl(Term::ANSIColor)
|
||||
%if !%{defined perl_bootstrap}
|
||||
BuildRequires: perl(Term::Table)
|
||||
%endif
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
# Test Suite
|
||||
@ -67,7 +69,9 @@ BuildRequires: perl(Test::Script)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Data::Dumper)
|
||||
Requires: perl(Term::ANSIColor)
|
||||
%if !%{defined perl_bootstrap}
|
||||
Requires: perl(Term::Table)
|
||||
%endif
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
@ -89,7 +93,7 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
make test AUTHOR_TESTING=1
|
||||
make test %{!?perl_bootstrap:AUTHOR_TESTING=1}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
||||
Loading…
Reference in New Issue
Block a user