Control optional test with a build condition
This commit is contained in:
parent
183c36dc0c
commit
a0548fe491
@ -1,3 +1,6 @@
|
||||
# Run optional test
|
||||
%bcond_without perl_Unicode_UTF8_enables_optional_test
|
||||
|
||||
Summary: Encoding and decoding of UTF-8 encoding form
|
||||
Name: perl-Unicode-UTF8
|
||||
Version: 0.62
|
||||
@ -42,11 +45,13 @@ BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Test::Builder)
|
||||
BuildRequires: perl(Test::Fatal) >= 0.006
|
||||
BuildRequires: perl(Test::More) >= 0.47
|
||||
%if %{with perl_Unicode_UTF8_enables_optional_test}
|
||||
# Optional Tests
|
||||
BuildRequires: perl(Taint::Runtime) >= 0.03
|
||||
BuildRequires: perl(Test::LeakTrace) >= 0.10
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Variable::Magic)
|
||||
%endif
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Exporter)
|
||||
|
Loading…
Reference in New Issue
Block a user