Do not run optional test on RHEL
This commit is contained in:
parent
7c41814627
commit
04a0e2e114
@ -1,10 +1,15 @@
|
|||||||
# Run extra test
|
# Run extra test
|
||||||
%if 0%{!?perl_bootstrap:1}
|
%if 0%{!?perl_bootstrap:1}
|
||||||
|
%if ! (0%{?rhel})
|
||||||
%bcond_without perl_CPAN_Meta_YAML_enables_extra_test
|
%bcond_without perl_CPAN_Meta_YAML_enables_extra_test
|
||||||
%else
|
%else
|
||||||
|
%bcond_with perl_CPAN_Meta_YAML_enables_extra_test
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
# Don't run extra tests when bootstrapping as many of those
|
# Don't run extra tests when bootstrapping as many of those
|
||||||
# tests' dependencies build-require this package
|
# 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
|
%endif
|
||||||
|
|
||||||
Name: perl-CPAN-Meta-YAML
|
Name: perl-CPAN-Meta-YAML
|
||||||
|
Loading…
Reference in New Issue
Block a user