[packages/perl-Coro] - updated to 6.57 - removed obsolete coro-5.24 patch

qboosh qboosh at pld-linux.org
Sun Jun 27 18:59:33 CEST 2021


commit e09a274b9c6d7dbda46a359859a5e5e94be4237e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 27 19:02:22 2021 +0200

    - updated to 6.57
    - removed obsolete coro-5.24 patch

 coro-5.24.patch | 21 ---------------------
 perl-Coro.spec  | 18 +++++++++---------
 2 files changed, 9 insertions(+), 30 deletions(-)
---
diff --git a/perl-Coro.spec b/perl-Coro.spec
index aacc629..4ef2de9 100644
--- a/perl-Coro.spec
+++ b/perl-Coro.spec
@@ -4,25 +4,26 @@
 #
 %define		pdir	Coro
 %define		pnam	Coro
-%define		pver	6.511
 Summary:	Coro - do events the coro-way
 Summary(pl.UTF-8):	Coro - obsługa zdarzeń na sposób coro
 Name:		perl-Coro
-Version:	6.51.1
+Version:	6.57
 Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-authors/id/M/ML/MLEHMANN/%{pnam}-%{pver}.tar.gz
-# Source0-md5:	bcad7051f573fed680eaf72e64e2140e
+Source0:	http://www.cpan.org/modules/by-authors/id/M/ML/MLEHMANN/%{pnam}-%{version}.tar.gz
+# Source0-md5:	fa5970a2a2f3df9d68d4369c7dde1a55
 Patch0:		kill-blocked-test.patch
-Patch1:		coro-5.24.patch
-URL:		http://search.cpan.org/dist/Coro/
+URL:		https://metacpan.org/dist/Coro
 BuildRequires:	perl-AnyEvent >= 2:5.0
+BuildRequires:	perl-Canary-Stability
 BuildRequires:	perl-EV >= 1:4.0
 BuildRequires:	perl-Event >= 1.08
-BuildRequires:	perl-devel >= 1:5.8.2
+BuildRequires:	perl-ExtUtils-MakeMaker >= 6.52
+BuildRequires:	perl-devel >= 1:5.8.9
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 BuildRequires:	sed >= 4.0
 %if %{with tests}
 BuildRequires:	perl-AnyEvent-Impl-EV
@@ -50,9 +51,8 @@ Ten moduł pozwala na tworzenie programów przy użyciu potężnego modelu
 wątkowych programów.
 
 %prep
-%setup -q -n %{pnam}-%{pver}
+%setup -q -n %{pnam}-%{version}
 %patch0 -p1
-%patch1 -p1
 
 %{__sed} -i "s^/opt/bin/perl^%{_bindir}/perl^" Coro/jit*pl
 
diff --git a/coro-5.24.patch b/coro-5.24.patch
deleted file mode 100644
index 86394fc..0000000
--- a/coro-5.24.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Description: fix for Coro with 5.24
-Origin: https://paste.debian.net/688072
-Bug-Debian: https://bugs.debian.org/838851
-Bug: https://rt.cpan.org/Public/Bug/Display.html?id=114708
-Author: Anonymous
-Last-Update: 2016-09-25
-
---- a/Coro/State.xs
-+++ b/Coro/State.xs
-@@ -1412,7 +1412,11 @@
-                           PUSHMARK (SP);
-                           PUSHs (&PL_sv_yes);
-                           PUSHs (fullname);
-+# if PERL_VERSION_ATLEAST(5,24,0)
-+                          PUSHs (CxHASARGS (cx) ? sv_2mortal (newRV_inc (PL_curpad[0])) : &PL_sv_undef);
-+#else
-                           PUSHs (CxHASARGS (cx) ? sv_2mortal (newRV_inc ((SV *)cx->blk_sub.argarray)) : &PL_sv_undef);
-+#endif
-                           PUTBACK;
-                           cb = hv_fetch ((HV *)SvRV (coro_current), "_trace_sub_cb", sizeof ("_trace_sub_cb") - 1, 0);
-                           if (cb) call_sv (*cb, G_KEEPERR | G_EVAL | G_VOID | G_DISCARD);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Coro.git/commitdiff/e09a274b9c6d7dbda46a359859a5e5e94be4237e



More information about the pld-cvs-commit mailing list