From 65a5f30932c586969c5456a8c3b9addea079631d Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 14 May 2019 08:09:47 +0200 Subject: [PATCH] Disable author tests and do not add optional run-require Term::Table when bootstraping --- perl-Test-Simple.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/perl-Test-Simple.spec b/perl-Test-Simple.spec index 81aa6b3..58209f5 100644 --- a/perl-Test-Simple.spec +++ b/perl-Test-Simple.spec @@ -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