diff --git a/perl-constant.spec b/perl-constant.spec index 1e29b90..2bb90af 100644 --- a/perl-constant.spec +++ b/perl-constant.spec @@ -1,5 +1,9 @@ # Run optional test +%if ! (0%{?rhel}) %bcond_without perl_constant_enables_optional_test +%else +%bcond_with perl_constant_enables_optional_test +%endif %global cpan_version 1.27