Browse Source

perl-Event-Lib-1.03-3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11863 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 years ago
parent
commit
ed93d2b283
1 changed files with 14 additions and 1 deletions
  1. 14 1
      p/perl-Event-Lib/perl-Event-Lib-vl.spec

+ 14 - 1
p/perl-Event-Lib/perl-Event-Lib-vl.spec

@@ -1,6 +1,6 @@
 Name:           perl-Event-Lib
 Name:           perl-Event-Lib
 Version:        1.03
 Version:        1.03
-Release:        2%{?_dist_release}
+Release:        3%{?_dist_release}
 Summary:        Perl wrapper around libevent
 Summary:        Perl wrapper around libevent
 
 
 Group:          Development/Libraries
 Group:          Development/Libraries
@@ -9,6 +9,14 @@ URL:            http://search.cpan.org/dist/Event-Lib/
 Source0:        http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/Event-Lib-%{version}.tar.gz
 Source0:        http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/Event-Lib-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+#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:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(GTop)
 BuildRequires:  perl(GTop)
 # Needed for test
 # Needed for test
@@ -27,6 +35,8 @@ received.
 %prep
 %prep
 %setup -q -n Event-Lib-%{version}
 %setup -q -n Event-Lib-%{version}
 
 
+%patch0 -p1 -b .orig
+%patch1 -p1
 
 
 %build
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \
@@ -64,6 +74,9 @@ rm -rf %{buildroot}
 
 
 
 
 %changelog
 %changelog
+* Sun Nov 04 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.03-3
+- rebuilt with libevent-2.1.8.
+
 * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.03-2
 * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.03-2
 - build with Perl 5.16
 - build with Perl 5.16