[2/2] perl-Coro: Update to 6.57

Message ID 20230216162114.1028117-2-stefan.schantl@ipfire.org
State Accepted
Commit 7b5056c5193e76d33d2d3507945ba5f842fc3be1
Headers
Series [1/2] perl-Canary-Stability: New package |

Commit Message

Stefan Schantl Feb. 16, 2023, 4:21 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 perl-Coro/perl-Coro.nm | 23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)
  

Patch

diff --git a/perl-Coro/perl-Coro.nm b/perl-Coro/perl-Coro.nm
index 5f25160ab..7a87e13d1 100644
--- a/perl-Coro/perl-Coro.nm
+++ b/perl-Coro/perl-Coro.nm
@@ -4,12 +4,12 @@ 
 ###############################################################################
 
 name       = perl-Coro
-version    = 6.42
-release    = 1.1
+version    = 6.57
+release    = 1
 thisapp    = Coro-%{version}
 
 groups     = Development/Libraries
-url        = http://search.cpan.org/dist/Coro/
+url        = https://search.cpan.org/dist/Coro/
 license    = GPL+ or Artistic
 summary    = The only real threads in perl.
 
@@ -20,13 +20,13 @@  description
 	in parallel at the same time even on SMP machines
 end
 
-source_dl  = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
+source_dl  = https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
 
 build
 	requires
+		perl(Canary::Stability)
 		perl(ExtUtils::MakeMaker)
 		perl(ExtUtils::ParseXS)
-		pakfire >= 0.9.26-3.1
 	end
 
 	prepare_cmds
@@ -37,7 +37,9 @@  build
 	end
 
 	build
-		perl Makefile.PL INSTALLDIRS=perl OPTIMIZE="%{CFLAGS}"
+		perl Makefile.PL INSTALLDIRS=perl NO_PACKLIST=1 NO_PERLLOCAL=1 \
+			OPTIMIZE="%{CFLAGS}" </dev/null
+
 		make %{PARALLELISMFLAGS}
 	end
 
@@ -47,14 +49,7 @@  end
 
 packages
 	package %{name}
-		filter_requires
-			AnyEvent
-			EV
-			Event
-			Guard
-			Storable
-			Coro
-		end
+		filter_requires = (AnyEvent|EV|Event|Guard|Storable|Coro)
 
 		requires
 			perl(:MODULE_COMPAT_%{perl_version})