From 3791a59f6ce104cd08214b5fefdbca67d8f5c9fe Mon Sep 17 00:00:00 2001 From: tigro Date: Wed, 27 Sep 2023 11:21:18 +0300 Subject: [PATCH] import perl-Function-Parameters-2.1.3-2.el9 --- .gitignore | 1 + .perl-Function-Parameters.metadata | 1 + SPECS/perl-Function-Parameters.spec | 136 ++++++++++++++++++++++++++++ 3 files changed, 138 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-Function-Parameters.metadata create mode 100644 SPECS/perl-Function-Parameters.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..911612f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Function-Parameters-2.001003.tar.gz diff --git a/.perl-Function-Parameters.metadata b/.perl-Function-Parameters.metadata new file mode 100644 index 0000000..1ba1dcf --- /dev/null +++ b/.perl-Function-Parameters.metadata @@ -0,0 +1 @@ +26b6f19da98298f7973088563006cae9d85d5489 SOURCES/Function-Parameters-2.001003.tar.gz diff --git a/SPECS/perl-Function-Parameters.spec b/SPECS/perl-Function-Parameters.spec new file mode 100644 index 0000000..f0fce39 --- /dev/null +++ b/SPECS/perl-Function-Parameters.spec @@ -0,0 +1,136 @@ +# Run optional test +%bcond_without perl_Function_Parameters_enables_optional_test + +Name: perl-Function-Parameters +%global cpan_version 2.001003 +Version: 2.1.3 +Release: 2%{?dist} +Summary: Subroutine definitions with parameter lists +License: GPL+ or Artistic +URL: https://metacpan.org/release/Function-Parameters +Source0: https://cpan.metacpan.org/authors/id/M/MA/MAUKE/Function-Parameters-%{cpan_version}.tar.gz +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Moose) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Moose::Util::TypeConstraints) +BuildRequires: perl(overload) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(XSLoader) +# Tests: +BuildRequires: perl(aliased) +BuildRequires: perl(attributes) +BuildRequires: perl(constant) +BuildRequires: perl(Dir::Self) +BuildRequires: perl(feature) +BuildRequires: perl(Hash::Util) >= 0.07 +BuildRequires: perl(integer) +BuildRequires: perl(lib) +BuildRequires: perl(Moose::Util) +BuildRequires: perl(MooseX::Types) +BuildRequires: perl(MooseX::Types::Moose) +BuildRequires: perl(Sub::Name) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) +BuildRequires: perl(utf8) +BuildRequires: perl(vars) +%if %{with perl_Function_Parameters_enables_optional_test} +# Optional tests: +BuildRequires: perl(threads) +BuildRequires: perl(threads::shared) +%endif +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Moose::Util::TypeConstraints) + +%description +This module extends Perl with keywords that let you define functions with +parameter lists. It uses Perl's keyword plugin API, so it works reliably +and doesn't require a source filter. + +%prep +%setup -q -n Function-Parameters-%{cpan_version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Function* +%{_mandir}/man3/* + +%changelog +* Wed Sep 27 2023 Arkady L. Shane - 2.1.3-2 +- Rebuilt for MSVSphere 9.2 + +* Thu Feb 08 2018 Fedora Release Engineering - 2.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Nov 13 2017 Petr Pisar - 2.1.3-1 +- 2.001003 bump + +* Thu Nov 09 2017 Petr Pisar - 2.1.2-1 +- 2.001002 bump + +* Thu Aug 03 2017 Fedora Release Engineering - 2.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jul 03 2017 Petr Pisar - 2.1.1-1 +- 2.001001 bump + +* Tue Jun 06 2017 Jitka Plesnikova - 2.0.7-2 +- Perl 5.26 rebuild + +* Tue May 16 2017 Petr Pisar - 2.0.7-1 +- 2.000007 bump + +* Tue Apr 18 2017 Petr Pisar - 2.0.6-2 +- 2.000006 bump + +* Mon Apr 03 2017 Petr Pisar - 2.0.3-1 +- 2.000003 bump + +* Tue Mar 28 2017 Petr Pisar - 2.0.2-1 +- 2.000002 bump + +* Fri Mar 17 2017 Petr Pisar - 1.0706-1 +- 1.0706 bump + +* Sat Feb 11 2017 Fedora Release Engineering - 1.0705-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jun 15 2016 Petr Pisar - 1.0705-1 +- 1.0705 bump + +* Mon May 16 2016 Jitka Plesnikova - 1.0704-2 +- Perl 5.24 rebuild + +* Mon Feb 15 2016 Petr Pisar - 1.0704-1 +- 1.0704 bump + +* Thu Feb 04 2016 Petr Pisar 1.0703-1 +- Specfile autogenerated by cpanspec 1.78. +- Address mistakes found by review