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