From bb304e2e37562e29cacfe38b2be1aee45553d603 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Fri, 6 Apr 2018 11:05:46 +0200 Subject: [PATCH] Do not run optional test on RHEL --- perl-Net-SSLeay.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec index 25a3d07..6ab883b 100644 --- a/perl-Net-SSLeay.spec +++ b/perl-Net-SSLeay.spec @@ -1,4 +1,8 @@ +%if ! (0%{?rhel}) %{bcond_without perl_Net_SSLeay_enables_optional_test} +%else +%{bcond_with perl_Net_SSLeay_enables_optional_test} +%endif # Provides/Requires filtering is different from rpm 4.9 onwards %global rpm49 %(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e' 2>/dev/null || echo 0)