diff --git a/perl-HTML-Tagset.spec b/perl-HTML-Tagset.spec
index b70dbf8..0d788f0 100644
--- a/perl-HTML-Tagset.spec
+++ b/perl-HTML-Tagset.spec
@@ -1,4 +1,8 @@
+%if ! (0%{?rhel})
%{bcond_without perl_HTML_Tagset_enables_optional_test}
+%else
+%{bcond_with perl_HTML_Tagset_enables_optional_test}
+%endif
Name: perl-HTML-Tagset
Version: 3.20