From 8799d71bc96c9db7a72658edcd27f9f21b260f71 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 9 Apr 2018 10:19:48 +0200 Subject: [PATCH] Do not run optional test on RHEL --- perl-libnet.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-libnet.spec b/perl-libnet.spec index 6618fc3..2e9dd9a 100644 --- a/perl-libnet.spec +++ b/perl-libnet.spec @@ -1,5 +1,9 @@ # Run optional test +%if ! (0%{?rhel}) %bcond_without perl_libnet_enables_optional_test +%else +%bcond_with perl_libnet_enables_optional_test +%endif # SASL support %bcond_without perl_libnet_enables_sasl # SSL support