From a8785101fc6d6e3acf4bedb78cd0ec741e9905df Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Feb 27 2018 10:02:05 +0000 Subject: Restore compatibility with libevent 2.1 --- diff --git a/perl-Event-Lib.spec b/perl-Event-Lib.spec index 594ffc7..d766250 100644 --- a/perl-Event-Lib.spec +++ b/perl-Event-Lib.spec @@ -1,6 +1,6 @@ Name: perl-Event-Lib Version: 1.03 -Release: 36%{?dist} +Release: 37%{?dist} Summary: Perl wrapper around libevent Group: Development/Libraries @@ -9,6 +9,8 @@ URL: http://search.cpan.org/dist/Event-Lib/ Source0: http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/Event-Lib-%{version}.tar.gz #https://rt.cpan.org/Public/Bug/Display.html?id=80644 Patch0: https://rt.cpan.org/Ticket/Attachment/1136922/598341/lib-event.patch +# Restore compatibility with libevent 2.1, bug #1549504, CPAN RT#124603 +Patch1: Event-Lib-1.03-libevent_2_1.patch BuildRequires: coreutils BuildRequires: findutils @@ -41,7 +43,7 @@ BuildRequires: perl(Socket) BuildRequires: perl(Test) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: libevent-devel +BuildRequires: libevent-devel >= 2.1 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -54,6 +56,7 @@ received. %prep %setup -q -n Event-Lib-%{version} %patch0 -p1 -b .orig +%patch1 -p1 %build @@ -89,6 +92,9 @@ make test || : %changelog +* Tue Feb 27 2018 Petr Pisar - 1.03-37 +- Restore compatibility with libevent 2.1 (bug #1549504) + * Fri Feb 16 2018 Adam Williamson - 1.03-36 - Rebuild for bumped libevent