Do not run optional test on RHEL

This commit is contained in:
Jitka Plesnikova 2018-04-06 14:08:25 +02:00
parent 3def90e309
commit d97c2f13f7

View File

@ -6,7 +6,11 @@
%global rpm49 0%(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e')
# Run extra test
%if ! (0%{?rhel})
%bcond_without perl_Sub_Exporter_enables_extra_test
%else
%bcond_with perl_Sub_Exporter_enables_extra_test
%endif
Name: perl-Sub-Exporter
Version: 0.987