From 47cdddc1405a658f52bd3e49321fccb776bbdfd0 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Fri, 6 Apr 2018 10:51:10 +0200 Subject: [PATCH] Do not run optional test on RHEL --- perl-Module-Runtime.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-Module-Runtime.spec b/perl-Module-Runtime.spec index 498b6bb..fb27e63 100644 --- a/perl-Module-Runtime.spec +++ b/perl-Module-Runtime.spec @@ -1,7 +1,11 @@ # This file is licensed under the terms of GNU GPLv2+. # Run optional tests +%if ! (0%{?rhel}) %{bcond_without perl_Module_Runtime_enables_optional_test} +%else +%{bcond_with perl_Module_Runtime_enables_optional_test} +%endif Name: perl-Module-Runtime Version: 0.016