From 8799d71bc96c9db7a72658edcd27f9f21b260f71 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Apr 09 2018 08:19:48 +0000 Subject: Do not run optional test on RHEL --- 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