Name: perl-MooseX-StrictConstructor Version: 0.21 Release: 18%{?dist} # see lib/MooseX/StrictConstructor.pm License: Artistic 2.0 Summary: Make your object constructors blow up on unknown attributes Source: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/MooseX-StrictConstructor-%{version}.tar.gz Url: https://metacpan.org/release/MooseX-StrictConstructor Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(B) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Moo) BuildRequires: perl(Moose) >= 0.94 BuildRequires: perl(Moose::Exporter) BuildRequires: perl(Moose::Role) BuildRequires: perl(Moose::Util::MetaRole) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Needs) BuildRequires: perl(namespace::autoclean) %{?perl_default_filter} %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 calls "Carp::confess()". This is a great way to catch small typos. %prep %setup -q -n MooseX-StrictConstructor-%{version} # avoid rpmlint wrong-script-interpreter warning sed -i '1s~#!.*perl~#!%{__perl}~' t/*.t %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} %{_fixperms} %{buildroot}/* %check make test %files %doc Changes %license LICENSE %{perl_vendorlib}/MooseX* %{_mandir}/man3/MooseX*.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.21-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.21-17 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.21-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.21-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.21-14 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.21-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.21-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.21-11 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.21-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.21-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.21-8 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.21-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.21-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 0.21-5 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.21-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.21-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 0.21-2 - Perl 5.26 rebuild * Sun Feb 12 2017 Emmanuel Seyman - 0.21-1 - Update to 0.21 - Pass NO_PACKLIST to Makefile.PL - Use %%license macro * Sat Feb 11 2017 Fedora Release Engineering - 0.19-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.19-11 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.19-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.19-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 08 2015 Jitka Plesnikova - 0.19-8 - Perl 5.22 rebuild * Mon Sep 01 2014 Jitka Plesnikova - 0.19-7 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.19-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Petr Pisar - 0.19-5 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.19-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.19-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 22 2012 Petr Pisar - 0.19-2 - Perl 5.16 rebuild * Sun Jan 22 2012 Iain Arnell 0.19-1 - update to latest upstream version * Tue Jan 17 2012 Iain Arnell - 0.18-2 - rebuilt again for F17 mass rebuild * Sat Jan 14 2012 Iain Arnell 0.18-1 - update to latest upstream version * Fri Jan 13 2012 Fedora Release Engineering - 0.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jul 19 2011 Petr Sabata - 0.16-2 - Perl mass rebuild * Sat Apr 23 2011 Iain Arnell 0.16-1 - update to latest upstream version * Fri Apr 22 2011 Iain Arnell 0.15-1 - update to latest upstream version * Sun Mar 06 2011 Iain Arnell 0.13-1 - update to latest upstream version - use perl_default_filter * Tue Feb 08 2011 Fedora Release Engineering - 0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Oct 08 2010 Iain Arnell 0.11-1 - update to latest upstream - license change from "GPL+ or Artistic" to "Artistic 2.0" - clean up spec for modern rpmbuild * Tue May 04 2010 Marcela Maslanova - 0.08-4 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 0.08-3 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 0.08-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Apr 19 2009 Chris Weyl 0.08-1 - update to 0.08 * Thu Feb 26 2009 Fedora Release Engineering - 0.07-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Jan 10 2009 Chris Weyl 0.07-3 - rebuild under new Moose level * Wed Oct 29 2008 Chris Weyl 0.07-2 - bump * Sun Oct 26 2008 Chris Weyl 0.07-1 - clean up for submission * Sun Oct 26 2008 Chris Weyl 0.07-0.1 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)