Add patch for tests
This commit is contained in:
parent
09c60849f6
commit
7df8a744d9
12
SOURCES/AnyEvent-7.14-fix_ssltest.patch
Normal file
12
SOURCES/AnyEvent-7.14-fix_ssltest.patch
Normal 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");
|
@ -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 <eabdullin@redhat.com> - 7.14-6.alma
|
||||
- Patch for tests
|
||||
|
||||
* Tue Jul 17 2018 Petr Pisar <ppisar@redhat.com> - 7.14-6
|
||||
- Do not test optional backends
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user