Introduce build-condition for running optional tests
This commit is contained in:
parent
0e26223291
commit
008e476eb1
@ -1,3 +1,5 @@
|
||||
# Run optional tests
|
||||
%bcond_without perl_Sys_Syslog_enables_optional_test
|
||||
Name: perl-Sys-Syslog
|
||||
Version: 0.35
|
||||
Release: 2%{?dist}
|
||||
@ -44,7 +46,7 @@ BuildRequires: perl(FileHandle)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Test::More)
|
||||
# Optional tests:
|
||||
%if !%{defined perl_bootstrap}
|
||||
%if !%{defined perl_bootstrap} && %{with perl_Sys_Syslog_enables_optional_test}
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: perl(Test::Distribution)
|
||||
%endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user