diff --git a/perl-CPAN-Meta-Check.spec b/perl-CPAN-Meta-Check.spec index 66d9190..99ab0aa 100644 --- a/perl-CPAN-Meta-Check.spec +++ b/perl-CPAN-Meta-Check.spec @@ -32,7 +32,11 @@ BuildRequires: perl(Env) BuildRequires: perl(lib) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 0.88 -%if %{with perl_CPAN_Meta_Check_enables_extra_test} +%if %{with perl_CPAN_Meta_Check_enables_extra_test} && !%{defined perl_bootstrap} +# Break a build cycle: perl-Pod-Coverage-TrustPod → perl-Pod-Eventual +# → perl-Mixin-Linewise → perl-Sub-Exporter → perl-Params-Util +# → perl-Config-AutoConf → perl-File-Slurper → perl-Test-Warnings +# → perl-CPAN-Meta-Check. # Extra tests BuildRequires: perl(blib) BuildRequires: perl(File::Spec) @@ -61,7 +65,7 @@ make install DESTDIR=%{buildroot} %check make test -%if %{with perl_CPAN_Meta_Check_enables_extra_test} +%if %{with perl_CPAN_Meta_Check_enables_extra_test} && !%{defined perl_bootstrap} make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" %endif