Control optional test with a build condition
This commit is contained in:
parent
1d98560704
commit
da9b7e7b7f
@ -1,3 +1,6 @@
|
||||
# Run optional test
|
||||
%bcond_without perl_IPC_SysV_enables_optional_test
|
||||
|
||||
Name: perl-IPC-SysV
|
||||
Version: 2.07
|
||||
Release: 396%{?dist}
|
||||
@ -23,8 +26,8 @@ BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(vars)
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More) >= 0.45
|
||||
%if %{with perl_IPC_SysV_enables_optional_test} && !%{defined perl_bootstrap}
|
||||
# Optional tests:
|
||||
%if !%{defined perl_bootstrap}
|
||||
BuildRequires: perl(Pod::Coverage) >= 0.10
|
||||
BuildRequires: perl(Test::Pod) >= 0.95
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
||||
|
||||
Loading…
Reference in New Issue
Block a user