Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- .../perl-Canary-Stability.nm | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 perl-Canary-Stability/perl-Canary-Stability.nm
diff --git a/perl-Canary-Stability/perl-Canary-Stability.nm b/perl-Canary-Stability/perl-Canary-Stability.nm new file mode 100644 index 000000000..0b3775cf9 --- /dev/null +++ b/perl-Canary-Stability/perl-Canary-Stability.nm @@ -0,0 +1,54 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team info@ipfire.org # +############################################################################### + +name = perl-Canary-Stability +version = 2013 +release = 1 +thisapp = Canary-Stability-%{version} + +groups = Development/Libraries +url = https://search.cpan.org/dist/Canary::Stability/ +license = GPL+ or Artistic +summary = Canary to check perl compatibility for schmorp's modules. + +description + This module is used by Schmorp's modules during configuration stage to test + the installed perl for compatibility with his modules. +end + +source_dl = https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/ + +build + requires + perl(ExtUtils::MakeMaker) + perl(ExtUtils::ParseXS) + libdb-devel + pakfire >= 0.9.26-3.1 + end + + build + perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" + make %{PARALLELISMFLAGS} + end + + test + make test + end + + make_install_targets = \ + pure_install DESTDIR=%{BUILDROOT} +end + +packages + package %{name} + requires + perl(:MODULE_COMPAT_%{perl_version}) + end + end + + package %{name}-debuginfo + template DEBUGINFO + end +end
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- perl-Coro/perl-Coro.nm | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-)
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})