Control optionl test with a build condition
This commit is contained in:
parent
a7ca861b94
commit
4385760309
@ -1,3 +1,6 @@
|
||||
# Run optional test
|
||||
%bcond_without perl_ExtUtils_Install_enables_optional_test
|
||||
|
||||
Name: perl-ExtUtils-Install
|
||||
Version: 2.14
|
||||
Release: 3%{?dist}
|
||||
@ -40,12 +43,14 @@ BuildRequires: perl(Test::More)
|
||||
# VMS::DCLsymnot used
|
||||
# Unbundled tests:
|
||||
# Test::Builder not used
|
||||
%if %{with perl_ExtUtils_Install_enables_optional_test}
|
||||
# Optional testes:
|
||||
%if !%{defined perl_bootstrap}
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
# Test::Pod::Coverage 1.08 not used
|
||||
# Pod::Coverage 0.17 not used
|
||||
%endif
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(AutoSplit)
|
||||
Requires: perl(Data::Dumper)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user