diff --git a/.gitignore b/.gitignore index b8c2c68..c50fb74 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /EV-4.22.tar.gz /EV-4.25.tar.gz /EV-4.27.tar.gz +/EV-4.30.tar.gz diff --git a/perl-EV-4.03-Don-t-ask-questions-at-build-time.patch b/perl-EV-4.03-Don-t-ask-questions-at-build-time.patch index 26d17be..d2061f2 100644 --- a/perl-EV-4.03-Don-t-ask-questions-at-build-time.patch +++ b/perl-EV-4.03-Don-t-ask-questions-at-build-time.patch @@ -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 diff --git a/perl-EV-4.30-Don-t-check-bundled-libev.patch b/perl-EV-4.30-Don-t-check-bundled-libev.patch new file mode 100644 index 0000000..a6836c2 --- /dev/null +++ b/perl-EV-4.30-Don-t-check-bundled-libev.patch @@ -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 <= 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 - 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 - 4.27-1 - Update to 4.27 diff --git a/sources b/sources index ad2c80d..a2874df 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (EV-4.27.tar.gz) = 076dde2a2e4c7d325f3c09b4fb3f04440f96e0ec79dcf86e16ec446471d2d0dc35d357fcdf5209a74271536461dc278f1a3ca698582374322bcd36a62ec28f51 +SHA512 (EV-4.30.tar.gz) = e1ad5279a50e156c98411652710feb7473cef6cfe3b8db3a9f5fdcf34017be5b53025e34d301de18e9389c61f323b94f64a0b4798bbfba159b5e67f1d520b7b8