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.
This commit is contained in:
Petr Písař 2021-01-12 08:06:09 +01:00
parent fce0cdd983
commit 199d2fb747

View File

@ -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