Control optional test with a build condition
This commit is contained in:
parent
0866d9fd8c
commit
839247c8e9
@ -1,3 +1,6 @@
|
||||
# Run optional test
|
||||
%bcond_without perl_DB_File_enables_optional_test
|
||||
|
||||
Name: perl-DB_File
|
||||
Version: 1.840
|
||||
Release: 396%{?dist}
|
||||
@ -33,7 +36,7 @@ BuildRequires: perl(XSLoader)
|
||||
BuildRequires: perl(Symbol)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(threads)
|
||||
%if !%{defined perl_bootstrap}
|
||||
%if %{with perl_DB_File_enables_optional_test} && !%{defined perl_bootstrap}
|
||||
# Optional tests:
|
||||
# Data::Dumper not useful
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
|
||||
Loading…
Reference in New Issue
Block a user