Conditionalize and document a build time dependency on gcc-c++
This commit is contained in:
parent
7b8e501a69
commit
c7bc1da47b
@ -21,6 +21,8 @@
|
||||
%global perl5_testdir %{_libexecdir}/perl5-tests
|
||||
|
||||
# Optional features
|
||||
# Run C++ tests
|
||||
%bcond_without perl_enables_cplusplus_test
|
||||
# We can bootstrap without gdbm
|
||||
%bcond_without gdbm
|
||||
# Support for groff, bug #135101
|
||||
@ -256,7 +258,10 @@ BuildRequires: zlib-devel
|
||||
|
||||
# For tests
|
||||
%if %{with test}
|
||||
%if %{with perl_enables_cplusplus_test}
|
||||
# An optional ExtUtils-CBuilder's test
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: procps
|
||||
%if %{with perl_enables_syslog_test}
|
||||
BuildRequires: rsyslog
|
||||
|
Loading…
Reference in New Issue
Block a user