From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 1/2] perl-Canary-Stability: New package Date: Thu, 16 Feb 2023 17:21:13 +0100 Message-ID: <20230216162114.1028117-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1707220697455211172==" List-Id: --===============1707220697455211172== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Schantl --- .../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-Sta= bility/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 = # +############################################################################= ### + +name =3D perl-Canary-Stability +version =3D 2013 +release =3D 1 +thisapp =3D Canary-Stability-%{version} + +groups =3D Development/Libraries +url =3D https://search.cpan.org/dist/Canary::Stability/ +license =3D GPL+ or Artistic +summary =3D 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 =3D https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/ + +build + requires + perl(ExtUtils::MakeMaker) + perl(ExtUtils::ParseXS) + libdb-devel + pakfire >=3D 0.9.26-3.1 + end + + build + perl Makefile.PL INSTALLDIRS=3Dvendor OPTIMIZE=3D"%{CFLAGS}" + make %{PARALLELISMFLAGS} + end + + test + make test + end + + make_install_targets =3D \ + pure_install DESTDIR=3D%{BUILDROOT} +end + +packages + package %{name} + requires + perl(:MODULE_COMPAT_%{perl_version}) + end + end + + package %{name}-debuginfo + template DEBUGINFO + end +end --=20 2.30.2 --===============1707220697455211172==--