Do not run optional test on RHEL

This commit is contained in:
Jitka Plesnikova 2018-04-06 11:17:22 +02:00
parent c254640aa5
commit 8a4118f2e4

View File

@ -1,7 +1,11 @@
# We need to patch the test suite if we have an old version of Test::More
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
# Run extra test
%if ! (0%{?rhel})
%bcond_without perl_Package_Generator_enables_extra_test
%else
%bcond_with perl_Package_Generator_enables_extra_test
%endif
Name: perl-Package-Generator
Version: 1.106