diff --git a/perl-Module-Runtime.spec b/perl-Module-Runtime.spec index 5236f13..26f2896 100644 --- a/perl-Module-Runtime.spec +++ b/perl-Module-Runtime.spec @@ -1,4 +1,8 @@ # This file is licensed under the terms of GNU GPLv2+. + +# Run optional tests +%{bcond_without perl_Module_Runtime_enables_optional_test} + Name: perl-Module-Runtime Version: 0.014 Release: 9%{?dist} @@ -16,9 +20,11 @@ BuildRequires: perl(warnings) # Tests: BuildRequires: perl(Math::BigInt) BuildRequires: perl(Test::More) +%if %{with perl_Module_Runtime_enables_optional_test} # Optional tests: BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) +%endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description