Control optional test with a build condition
This commit is contained in:
parent
e2582eb5c3
commit
399b925d6b
@ -1,3 +1,6 @@
|
||||
# Run optional test
|
||||
%bcond_without perl_Math_BigInt_enables_optional_test
|
||||
|
||||
Name: perl-Math-BigInt
|
||||
Epoch: 1
|
||||
%global cpan_version 1.999811
|
||||
@ -33,6 +36,7 @@ BuildRequires: perl(lib)
|
||||
# Scalar::Util not used
|
||||
# Socket not used
|
||||
BuildRequires: perl(Test::More) >= 0.94
|
||||
%if %{with perl_Math_BigInt_enables_optional_test}
|
||||
# Optional tests:
|
||||
# This core module must be buildable without non-core modules at bootstrap.
|
||||
%if !%{defined perl_bootstrap}
|
||||
@ -40,6 +44,7 @@ BuildRequires: perl(Test::Pod) >= 1.22
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
||||
BuildRequires: perl(Pod::Coverage) >= 0.18
|
||||
%endif
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Math::Complex) >= 1.39
|
||||
Conflicts: perl < 4:5.22.0-347
|
||||
|
Loading…
Reference in New Issue
Block a user