Introduce build-condition for prefork test

This commit is contained in:
Petr Písař 2017-04-28 09:16:24 +02:00
parent 9cdefc8831
commit 7e1a3464e8

View File

@ -1,3 +1,6 @@
# Run prefork optional test
%{bcond_without perl_Module_ScanDeps_enables_prefork}
Name: perl-Module-ScanDeps
Summary: Recursively scan Perl code for dependencies
Version: 1.23
@ -45,7 +48,7 @@ BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Requires)
# Optional tests:
BuildRequires: perl(Module::Pluggable)
%if !%{defined perl_bootstrap}
%if !%{defined perl_bootstrap} && %{with perl_Module_ScanDeps_enables_prefork}
# Cycle: perl-Module-ScanDeps → perl-prefork → perl-Perl-MinimumVersion
# → perl-Perl-Critic → perl-Pod-Spell → perl-File-ShareDir-ProjectDistDir
# → perl-Path-Tiny → perl-Unicode-UTF8 → perl-Module-Install