Control running optional test by without_perl_BSD_Resource_enables_optional_test
This commit is contained in:
parent
4d0f0d6450
commit
4a35148e58
@ -1,3 +1,6 @@
|
||||
# Run optional test
|
||||
%bcond_without perl_BSD_Resource_enables_optional_test
|
||||
|
||||
Name: perl-BSD-Resource
|
||||
Version: 1.291.100
|
||||
%global module_version 1.2911
|
||||
@ -25,10 +28,12 @@ BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(DynaLoader)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(strict)
|
||||
%if %{with perl_BSD_Resource_enables_optional_test}
|
||||
# Optional tests:
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user