diff --git a/perl-Try-Tiny.spec b/perl-Try-Tiny.spec index 2a4875f..fab25f1 100644 --- a/perl-Try-Tiny.spec +++ b/perl-Try-Tiny.spec @@ -1,4 +1,8 @@ +%if ! (0%{?rhel}) %{bcond_without perl_Try_Tiny_enables_optional_test} +%else +%{bcond_with perl_Try_Tiny_enables_optional_test} +%endif Name: perl-Try-Tiny Summary: Minimal try/catch with proper localization of $@