Add patch for tests

This commit is contained in:
eabdullin 2021-12-06 17:11:22 +03:00
parent 09c60849f6
commit 7df8a744d9
2 changed files with 18 additions and 1 deletions

View File

@ -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");

View File

@ -13,12 +13,13 @@
Name: perl-AnyEvent Name: perl-AnyEvent
Version: 7.14 Version: 7.14
Release: 6%{?dist} Release: 6%{?dist}.alma
Summary: Framework for multiple event loops Summary: Framework for multiple event loops
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/AnyEvent/ URL: http://search.cpan.org/dist/AnyEvent/
Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}%{?subver}.tar.gz 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 # Build requirements
BuildRequires: coreutils BuildRequires: coreutils
@ -147,6 +148,7 @@ time).
%prep %prep
%setup -q -n AnyEvent-%{version}%{?subver} %setup -q -n AnyEvent-%{version}%{?subver}
%patch0 -p1
%build %build
@ -204,6 +206,9 @@ make test
%changelog %changelog
* Mon Dec 06 2021 Eduard Abdullin <eabdullin@redhat.com> - 7.14-6.alma
- Patch for tests
* Tue Jul 17 2018 Petr Pisar <ppisar@redhat.com> - 7.14-6 * Tue Jul 17 2018 Petr Pisar <ppisar@redhat.com> - 7.14-6
- Do not test optional backends - Do not test optional backends