Control optional test with a build condition
This commit is contained in:
parent
26e7341c55
commit
f532f9742b
@ -1,3 +1,6 @@
|
|||||||
|
# Run optionl test
|
||||||
|
%bcond_without perl_DateTime_TimeZone_SystemV_enables_optional_test
|
||||||
|
|
||||||
Name: perl-DateTime-TimeZone-SystemV
|
Name: perl-DateTime-TimeZone-SystemV
|
||||||
Version: 0.010
|
Version: 0.010
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
@ -19,9 +22,11 @@ BuildRequires: perl(strict)
|
|||||||
BuildRequires: perl(warnings)
|
BuildRequires: perl(warnings)
|
||||||
# Test Suite
|
# Test Suite
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
|
%if %{with perl_DateTime_TimeZone_SystemV_enables_optional_test}
|
||||||
# Optional Tests
|
# Optional Tests
|
||||||
BuildRequires: perl(Test::Pod) >= 1.00
|
BuildRequires: perl(Test::Pod) >= 1.00
|
||||||
BuildRequires: perl(Test::Pod::Coverage)
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
|
%endif
|
||||||
# Dependencies
|
# Dependencies
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user