Do not run optional test on RHEL
This commit is contained in:
parent
6999ed7ebd
commit
bb304e2e37
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user