Conditionalize a test dependency on Net::IDN::Encode and Net::LibIDN
Because this package run-requires URI::_idna, IO::Socket:SSL::PublicSuffix library won't use the two modules and thus testing a code path for them is questionable. The condition allows to prune a dependency chain somewhat.
This commit is contained in:
parent
2a35642cbc
commit
bac36bfb85
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_without perl_IO_Socket_SSL_test_unused_idn
|
||||||
|
|
||||||
Name: perl-IO-Socket-SSL
|
Name: perl-IO-Socket-SSL
|
||||||
Version: 2.066
|
Version: 2.066
|
||||||
Release: 8%{?dist}
|
Release: 8%{?dist}
|
||||||
@ -45,8 +47,10 @@ BuildRequires: perl(IO::Select)
|
|||||||
BuildRequires: perl(IO::Socket::INET6) >= 2.62
|
BuildRequires: perl(IO::Socket::INET6) >= 2.62
|
||||||
# IPC::Run for Test-client-performs-Post-Handshake-Authentication.patch
|
# IPC::Run for Test-client-performs-Post-Handshake-Authentication.patch
|
||||||
BuildRequires: perl(IPC::Run)
|
BuildRequires: perl(IPC::Run)
|
||||||
|
%if %{with perl_IO_Socket_SSL_test_unused_idn}
|
||||||
BuildRequires: perl(Net::IDN::Encode)
|
BuildRequires: perl(Net::IDN::Encode)
|
||||||
BuildRequires: perl(Net::LibIDN)
|
BuildRequires: perl(Net::LibIDN)
|
||||||
|
%endif
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(utf8)
|
BuildRequires: perl(utf8)
|
||||||
BuildRequires: procps
|
BuildRequires: procps
|
||||||
|
Loading…
Reference in New Issue
Block a user