diff --git a/perl-Sub-Identify.spec b/perl-Sub-Identify.spec index 58d3f12..2c44119 100644 --- a/perl-Sub-Identify.spec +++ b/perl-Sub-Identify.spec @@ -1,3 +1,6 @@ +# Run optional test +%bcond_without perl_Sub_Identify_enables_optional_test + Name: perl-Sub-Identify Version: 0.14 Release: 4%{?dist} @@ -26,8 +29,11 @@ BuildRequires: perl(feature) %endif BuildRequires: perl(List::Util) BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(warnings) +%if %{with perl_Sub_Identify_enables_optional_test} +# Optional tests +BuildRequires: perl(Test::Pod) >= 1.14 +%endif # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(B)