Update to 4.30

epel9
Emmanuel Seyman 5 years ago
parent a62505e8bc
commit bc451cca0e

1
.gitignore vendored

@ -7,3 +7,4 @@
/EV-4.22.tar.gz
/EV-4.25.tar.gz
/EV-4.27.tar.gz
/EV-4.30.tar.gz

@ -13,7 +13,7 @@ diff --git a/Makefile.PL b/Makefile.PL
index 2a31180..28d8ddc 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -27,9 +27,7 @@ and hope for the best. The defaults should usually do.
@@ -32,9 +32,7 @@ and hope for the best. The defaults should usually do.
EOF

@ -0,0 +1,23 @@
diff -up ./Makefile.PL.orig ./Makefile.PL
--- ./Makefile.PL.orig 2019-11-24 10:26:02.793736366 +0100
+++ ./Makefile.PL 2019-11-24 10:27:49.699547974 +0100
@@ -9,19 +9,6 @@ sub have_inc($) {
my $DEFINE;
-unless (-e "libev/ev_iouring.c") {
- print <<EOF;
-
-***
-*** ERROR: libev is missing or damaged. If you used a CVS check-out of EV,
-*** you also have to check-out the "libev" module from the same CVS
-*** repository into the EV dir (i.e. EV/libev from outside).
-***
-
-EOF
- exit 1;
-}
-
print <<EOF;
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

@ -1,5 +1,5 @@
Name: perl-EV
Version: 4.27
Version: 4.30
Release: 1%{?dist}
Summary: Wrapper for the libev high-performance event loop library
@ -10,6 +10,7 @@ License: GPL+ or Artistic
URL: https://metacpan.org/release/EV
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/EV-%{version}.tar.gz
Patch0: perl-EV-4.03-Don-t-ask-questions-at-build-time.patch
Patch1: perl-EV-4.30-Don-t-check-bundled-libev.patch
BuildRequires: gcc
BuildRequires: perl-devel
@ -21,7 +22,7 @@ BuildRequires: libev-source >= 4.27
BuildRequires: perl(AnyEvent) => 2.6
BuildRequires: perl(Canary::Stability)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
%{?perl_default_filter}
@ -40,6 +41,7 @@ much more detailed information.
%setup -q -n EV-%{version}
%patch0 -p1
%patch1 -p0
# remove all traces of the bundled libev
rm -fr ./libev
@ -50,7 +52,7 @@ cp -r /usr/share/libev-source/* ./libev/
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
PERL_CANARY_STABILITY_NOPROMPT=1 /usr/bin/perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
@ -76,6 +78,11 @@ make test
%changelog
* Sun Nov 24 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 4.30-1
- Update to 4.30
- Replace calls to %%{__perl} with /usr/bin/perl
- Patch Makefile.PLL to not check for bundled EV library
* Tue Jul 30 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 4.27-1
- Update to 4.27

@ -1 +1 @@
SHA512 (EV-4.27.tar.gz) = 076dde2a2e4c7d325f3c09b4fb3f04440f96e0ec79dcf86e16ec446471d2d0dc35d357fcdf5209a74271536461dc278f1a3ca698582374322bcd36a62ec28f51
SHA512 (EV-4.30.tar.gz) = e1ad5279a50e156c98411652710feb7473cef6cfe3b8db3a9f5fdcf34017be5b53025e34d301de18e9389c61f323b94f64a0b4798bbfba159b5e67f1d520b7b8

Loading…
Cancel
Save