Fix tests failing with OpenSSL @SECLEVEL=2 (CPAN RT#126923)

This commit is contained in:
Jitka Plesnikova 2020-06-26 07:58:14 +02:00
parent cd72b813ab
commit 8029803547

View File

@ -5,6 +5,8 @@ Summary: Extensible, general Perl server engine
License: GPL+ or Artistic
URL: https://metacpan.org/release/Net-Server
Source0: https://cpan.metacpan.org/modules/by-module/Net/Net-Server-%{version}.tar.gz
# Fix tests failing with OpenSSL @SECLEVEL=2 (CPAN RT#126923)
Patch0: Net-Server-2.009-Generate-2048-bit-keys-for-tests.patch
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
@ -71,6 +73,7 @@ be the back end layer of internet protocol servers.
%prep
%setup -q -n Net-Server-%{version}
%patch0 -p1
# Do not want to pull in any packaging deps here.
chmod -c 644 examples/*