From 997fd3a13cb46fc67a0c66d56f4d22e39cbba96c Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Fri, 6 Apr 2018 16:38:04 +0200 Subject: [PATCH] Do not run optional test on RHEL --- perl-YAML-Tiny.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-YAML-Tiny.spec b/perl-YAML-Tiny.spec index c0da8cb..6095959 100644 --- a/perl-YAML-Tiny.spec +++ b/perl-YAML-Tiny.spec @@ -1,5 +1,9 @@ # Test using JSON::MaybeXS instead of JSON::PP +%if ! (0%{?rhel}) %{bcond_without perl_YAML_Tiny_enables_JSON_MaybeX_test} +%else +%{bcond_with perl_YAML_Tiny_enables_JSON_MaybeX_test} +%endif Name: perl-YAML-Tiny Version: 1.73