Control optional test by a build-condition
This commit is contained in:
parent
9ea7db8bd3
commit
dfe5b3eda8
@ -1,3 +1,6 @@
|
||||
# Run optional test
|
||||
%bcond_without perl_Sub_Identify_enables_optional_test
|
||||
|
||||
Name: perl-Sub-Identify
|
||||
Version: 0.14
|
||||
Release: 4%{?dist}
|
||||
@ -26,8 +29,11 @@ BuildRequires: perl(feature)
|
||||
%endif
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(warnings)
|
||||
%if %{with perl_Sub_Identify_enables_optional_test}
|
||||
# Optional tests
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
%endif
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(B)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user