diff --git a/perl-DateTime-TimeZone-SystemV.spec b/perl-DateTime-TimeZone-SystemV.spec index c974659..b413c9b 100644 --- a/perl-DateTime-TimeZone-SystemV.spec +++ b/perl-DateTime-TimeZone-SystemV.spec @@ -1,3 +1,6 @@ +# Run optionl test +%bcond_without perl_DateTime_TimeZone_SystemV_enables_optional_test + Name: perl-DateTime-TimeZone-SystemV Version: 0.010 Release: 2%{?dist} @@ -19,9 +22,11 @@ BuildRequires: perl(strict) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(Test::More) +%if %{with perl_DateTime_TimeZone_SystemV_enables_optional_test} # Optional Tests BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) +%endif # Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))