Update to 1.11

- New upstream release 1.11
  - Remove MooseX::Role::WithOverloading from test dependencies
    (CPAN RT#130075)
- Specify all build dependencies
- Modernize spec using %{make_build} and %{make_install}
epel9 imports/e9/perl-MooseX-Role-Parameterized-1.11-1.el9
Paul Howarth 6 years ago
parent a245ec6266
commit 6453bbaae7

@ -1,3 +0,0 @@
[add_build_requires]
perl(Data::Dumper)=0
perl(Storable)=0

@ -0,0 +1,5 @@
from Config import *
addFilter("spelling-error Summary\(en_US\) parameterization -> ")
addFilter("spelling-error %description -l en_US composable -> ")
addFilter("spelling-error %description -l en_US configurability -> ")
addFilter("spelling-error %description -l en_US url -> ")

@ -1,15 +1,19 @@
Name: perl-MooseX-Role-Parameterized Name: perl-MooseX-Role-Parameterized
Summary: Make your roles flexible through parameterization Summary: Make your roles flexible through parameterization
Version: 1.10 Version: 1.11
Release: 8%{?dist} Release: 1%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/MooseX-Role-Parameterized URL: https://metacpan.org/release/MooseX-Role-Parameterized
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Role-Parameterized-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/MooseX/MooseX-Role-Parameterized-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: perl-interpreter BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(Module::Build::Tiny) BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: sed
# Module Runtime # Module Runtime
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Module::Runtime) BuildRequires: perl(Module::Runtime)
@ -19,24 +23,26 @@ BuildRequires: perl(Moose::Meta::Role)
BuildRequires: perl(Moose::Role) BuildRequires: perl(Moose::Role)
BuildRequires: perl(Moose::Util) BuildRequires: perl(Moose::Util)
BuildRequires: perl(namespace::autoclean) BuildRequires: perl(namespace::autoclean)
BuildRequires: perl(namespace::clean) BuildRequires: perl(namespace::clean) >= 0.19
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test Suite # Test Suite
BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(CPAN::Meta::Check) >= 0.011
BuildRequires: perl(CPAN::Meta::Check) >= 0.007
BuildRequires: perl(CPAN::Meta::Requirements) BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(Data::Dumper) BuildRequires: perl(Data::Dumper)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(Moose::Util::TypeConstraints)
BuildRequires: perl(MooseX::Role::WithOverloading)
BuildRequires: perl(overload) BuildRequires: perl(overload)
BuildRequires: perl(Storable) BuildRequires: perl(Storable)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::Moose)
BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Needs)
BuildRequires: perl(warnings) # Optional Test Dependencies
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(MooseX::Role::WithOverloading)
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Moose) >= 2.0300 Requires: perl(Moose) >= 2.0300
@ -67,13 +73,13 @@ Parameterized roles offer exactly this solution.
sed -i -e '1s,#!.*perl,,' t/*.t sed -i -e '1s,#!.*perl,,' t/*.t
%build %build
PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL \
make %{?_smp_mflags} INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install %install
make pure_install DESTDIR=%{buildroot} %{make_install}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %{_fixperms} -c %{buildroot}
%{_fixperms} %{buildroot}
%check %check
make test make test
@ -85,6 +91,13 @@ make test
%{_mandir}/man3/MooseX* %{_mandir}/man3/MooseX*
%changelog %changelog
* Tue Jul 16 2019 Paul Howarth <paul@city-fan.org> - 1.11-1
- Update to 1.11
- Remove MooseX::Role::WithOverloading from test dependencies
(CPAN RT#130075)
- Specify all build dependencies
- Modernize spec using %%{make_build} and %%{make_install}
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.10-8 * Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.10-8
- Perl 5.30 rebuild - Perl 5.30 rebuild

@ -1 +1 @@
SHA512 (MooseX-Role-Parameterized-1.10.tar.gz) = 10f6b51dd6e09c30e36496469c4a213e0ab6d12529e0b91161f680ae595b312e9dbff035d6c8a2d10dbff7fa55cf7ca6b53cd66b848f75f7e6ac43b6e6eb9e84 SHA512 (MooseX-Role-Parameterized-1.11.tar.gz) = 7442a10f1593cecfcb01e93f314bcb6ebe95b4b9710262ef5dc7d8065ae118a96e0abbbc9f7b8986c33185a8b8aec60cf8639c0fd6eee4fb94f2e33d95eb7ed9

Loading…
Cancel
Save