Control optional test with a build condition
This commit is contained in:
parent
a96ade0cc7
commit
a16bffb257
@ -1,3 +1,6 @@
|
||||
# Run optional test
|
||||
%bcond_without perl_Pod_Parser_enables_optional_test
|
||||
|
||||
Name: perl-Pod-Parser
|
||||
Version: 1.63
|
||||
Release: 395%{?dist}
|
||||
@ -30,7 +33,7 @@ BuildRequires: perl(Test::More) >= 0.6
|
||||
# Circular dependency Pod::Checker <-> Pod::Parser
|
||||
BuildRequires: perl(Pod::Checker) >= 1.40
|
||||
# VMS::Filespec not used
|
||||
%if !%{defined perl_bootstrap}
|
||||
%if %{with perl_Pod_Parser_enables_optional_test} && !%{defined perl_bootstrap}
|
||||
# Optional tests:
|
||||
BuildRequires: perl(IO::String)
|
||||
%endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user