From 04a0e2e11487241ed251223755f1abe43bbe392a Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Apr 04 2018 14:16:20 +0000 Subject: Do not run optional test on RHEL --- diff --git a/perl-CPAN-Meta-YAML.spec b/perl-CPAN-Meta-YAML.spec index 29a749a..b5fa8d1 100644 --- a/perl-CPAN-Meta-YAML.spec +++ b/perl-CPAN-Meta-YAML.spec @@ -1,10 +1,15 @@ # Run extra test %if 0%{!?perl_bootstrap:1} +%if ! (0%{?rhel}) %bcond_without perl_CPAN_Meta_YAML_enables_extra_test %else +%bcond_with perl_CPAN_Meta_YAML_enables_extra_test +%endif +%else # Don't run extra tests when bootstrapping as many of those # tests' dependencies build-require this package -%bcond_with perl_CPAN_Meta_YAML_enables_extra_test +%global _without_perl_CPAN_Meta_YAML_enables_extra_test 1 +%global _with_perl_CPAN_Meta_YAML_enables_extra_test 0 %endif Name: perl-CPAN-Meta-YAML