From 7df8a744d97fbb6b31ace8f6bef17177bae18d37 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 6 Dec 2021 17:11:22 +0300 Subject: [PATCH] Add patch for tests --- SOURCES/AnyEvent-7.14-fix_ssltest.patch | 12 ++++++++++++ SPECS/perl-AnyEvent.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 SOURCES/AnyEvent-7.14-fix_ssltest.patch diff --git a/SOURCES/AnyEvent-7.14-fix_ssltest.patch b/SOURCES/AnyEvent-7.14-fix_ssltest.patch new file mode 100644 index 0000000..f638b95 --- /dev/null +++ b/SOURCES/AnyEvent-7.14-fix_ssltest.patch @@ -0,0 +1,12 @@ +diff -Naur AnyEvent-7.14/t/80_ssltest.t AnyEvent-7.14.dh/t/80_ssltest.t +--- AnyEvent-7.14/t/80_ssltest.t 2012-05-12 23:06:34.000000000 +0000 ++++ AnyEvent-7.14.dh/t/80_ssltest.t 2021-05-14 11:19:54.342751254 +0000 +@@ -11,7 +11,7 @@ + use AnyEvent::Handle; + use AnyEvent::TLS; + +-my $ctx = new AnyEvent::TLS cert_file => $0; ++my $ctx = new AnyEvent::TLS cert_file => $0, dh => "schmorp2048"; + + for my $mode (1..5) { + ok (1, "mode $mode"); diff --git a/SPECS/perl-AnyEvent.spec b/SPECS/perl-AnyEvent.spec index d19fb23..db51d4f 100644 --- a/SPECS/perl-AnyEvent.spec +++ b/SPECS/perl-AnyEvent.spec @@ -13,12 +13,13 @@ Name: perl-AnyEvent Version: 7.14 -Release: 6%{?dist} +Release: 6%{?dist}.alma Summary: Framework for multiple event loops Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/AnyEvent/ Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}%{?subver}.tar.gz +Patch0: AnyEvent-7.14-fix_ssltest.patch # Build requirements BuildRequires: coreutils @@ -147,6 +148,7 @@ time). %prep %setup -q -n AnyEvent-%{version}%{?subver} +%patch0 -p1 %build @@ -204,6 +206,9 @@ make test %changelog +* Mon Dec 06 2021 Eduard Abdullin - 7.14-6.alma +- Patch for tests + * Tue Jul 17 2018 Petr Pisar - 7.14-6 - Do not test optional backends