From 785958ba40822d47bccc9bcd675172174fa49f81 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 4 Apr 2018 14:45:34 +0200 Subject: [PATCH] Do not run optional test on RHEL --- perl-B-Debug.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perl-B-Debug.spec b/perl-B-Debug.spec index 6cc011b..9a520a1 100644 --- a/perl-B-Debug.spec +++ b/perl-B-Debug.spec @@ -1,9 +1,15 @@ # Run optional test %if !%{defined perl_bootstrap} +%if ! (0%{?rhel}) %bcond_without perl_B_Debug_enables_optional_test %else %bcond_with perl_B_Debug_enables_optional_test %endif +%else +%_without_perl_B_Debug_enables_optional_test 1 +%_with_perl_B_Debug_enables_optional_test 0 +%endif + Name: perl-B-Debug Version: 1.26