Control optional test with a build condition
This commit is contained in:
parent
928fed354d
commit
69c084ffcc
@ -1,3 +1,6 @@
|
||||
# Run optional test
|
||||
%bcond_without perl_autodie_enables_optional_test
|
||||
|
||||
Name: perl-autodie
|
||||
Version: 2.29
|
||||
Release: 395%{?dist}
|
||||
@ -48,7 +51,7 @@ BuildRequires: perl(Test::More)
|
||||
# Test::Pod 1.41 not used
|
||||
# Test::Pod::Coverage 1.08 not used
|
||||
# Optional tests:
|
||||
%if !%{defined perl_bootstrap}
|
||||
%if %{with perl_autodie_enables_optinonal_test} && !%{defined perl_bootstrap}
|
||||
BuildRequires: perl(BSD::Resource)
|
||||
BuildRequires: perl(Import::Into) >= 1.002004
|
||||
%endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user