From 1bc78059e07ae0a41b8fdfb9a48c39c07e866bba Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Fri, 6 Apr 2018 13:38:03 +0200 Subject: [PATCH] Do not run optional test on RHEL --- perl-Sereal.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-Sereal.spec b/perl-Sereal.spec index 11b1beb..9df859d 100644 --- a/perl-Sereal.spec +++ b/perl-Sereal.spec @@ -1,5 +1,9 @@ # Run optional test +%if ! (0%{?rhel}) %bcond_without perl_Sereal_enables_optional_test +%else +%bcond_with perl_Sereal_enables_optional_test +%endif Name: perl-Sereal Version: 4.005