Name: perl-MooX-StrictConstructor Version: 0.011 Release: 1%{?dist} Summary: Make your Moo-based object constructors blow up on unknown attributes License: GPL+ or Artistic URL: https://metacpan.org/release/MooX-StrictConstructor Source0: https://cpan.metacpan.org/authors/id/H/HA/HARTZELL/MooX-StrictConstructor-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(:VERSION) >= 5.6.0 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time BuildRequires: perl(B) BuildRequires: perl(Class::Method::Modifiers) BuildRequires: perl(constant) BuildRequires: perl(feature) BuildRequires: perl(Moo) >= 1.001000 BuildRequires: perl(Moo::Role) BuildRequires: perl(strictures) >= 1 # Tests BuildRequires: perl(blib) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::Handle) BuildRequires: perl(IPC::Open3) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(feature) %description Simply loading this module makes your constructors "strict". If your constructor is called with an attribute init argument that your class does not declare, then it dies. This is a great way to catch small typos. %prep %setup -q -n MooX-StrictConstructor-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Mar 11 2020 Jitka Plesnikova - 0.011-1 - 0.011 bump * Thu Jan 30 2020 Fedora Release Engineering - 0.010-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.010-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.010-5 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.010-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.010-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.010-2 - Perl 5.28 rebuild * Mon Mar 26 2018 Jitka Plesnikova - 0.010-1 - 0.010 bump * Thu Feb 08 2018 Fedora Release Engineering - 0.008-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.008-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jun 30 2017 Jitka Plesnikova - 0.008-1 - Initial release