diff --git a/perl-Module-CoreList.spec b/perl-Module-CoreList.spec index d265bbb..63bc8de 100644 --- a/perl-Module-CoreList.spec +++ b/perl-Module-CoreList.spec @@ -1,3 +1,6 @@ +# Run optional test +%bcond_without perl_Module_CoreList_enables_optional_test + Name: perl-Module-CoreList # Epoch to compete with perl.spec Epoch: 1 @@ -25,7 +28,7 @@ BuildRequires: perl(warnings) # Tests: BuildRequires: perl(Test::More) # Optional tests: -%if !%{defined perl_bootstrap} +%if %{with perl_Module_CoreList_enables_optional_test} && !%{defined perl_bootstrap} BuildRequires: perl(Test::Pod) >= 1.00 %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))