From 844122c4abfa6248b2e8bbbf3124772c62f69525 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Fri, 6 Apr 2018 15:33:44 +0200 Subject: [PATCH] Do not run optional test on RHEL --- perl-Try-Tiny.spec | 4 ++++ 1 file changed, 4 insertions(+) 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 $@