Conditionalize optional tests
This commit is contained in:
parent
fa388be020
commit
047207b670
@ -1,3 +1,6 @@
|
||||
# Perform optional tests
|
||||
%bcond_without perl_NTLM_enables_optional_test
|
||||
|
||||
Name: perl-NTLM
|
||||
Version: 1.09
|
||||
Release: 24%{?dist}
|
||||
@ -20,8 +23,10 @@ BuildRequires: perl(vars)
|
||||
# Tests
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(warnings)
|
||||
%if %{with perl_NTLM_enables_optional_test}
|
||||
# Optional tests
|
||||
BuildRequires: perl(Test::Pod)
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
|
||||
Loading…
Reference in New Issue
Block a user