From f5e43b87bc8045ac900e5e8eb28b589a17cf566e Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 28 Mar 2018 15:13:08 +0200 Subject: [PATCH] Do not run optional test on RHEL --- perl-strictures.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-strictures.spec b/perl-strictures.spec index ccda02a..413a134 100644 --- a/perl-strictures.spec +++ b/perl-strictures.spec @@ -1,5 +1,9 @@ # Run optional tests +%if ! (0%{?rhel}) %{bcond_without perl_strictures_enables_optional_test} +%else +%{bcond_with perl_strictures_enables_optional_test} +%endif Name: perl-strictures Version: 2.000003