Name: perl-MooseX-ClassAttribute Summary: Declare class attributes Moose-style Version: 0.29 Release: 25%{?dist} License: Artistic-2.0 Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/MooseX-ClassAttribute-%{version}.tar.gz URL: https://metacpan.org/release/MooseX-ClassAttribute BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Moose) >= 2.00 BuildRequires: perl(Moose::Exporter) BuildRequires: perl(Moose::Meta::Role::Attribute) BuildRequires: perl(Moose::Role) BuildRequires: perl(Moose::Util) BuildRequires: perl(Moose::Util::MetaRole) BuildRequires: perl(MooseX::Role::Parameterized) BuildRequires: perl(namespace::autoclean) >= 0.11 BuildRequires: perl(namespace::clean) >= 0.20 BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Requires) >= 0.05 %{?perl_default_filter} %description This module allows you to declare class attributes in exactly the same way as object attributes, using class_has() instead of has(). You can use any feature of Moose's attribute declarations, including overriding a parent's attributes, delegation (handles), and attribute metaclasses, and it should just work. The one exception is the "required" flag, which is not allowed for class attributes. The accessor methods for class attribute may be called on the class directly, or on objects of that class. Passing a class attribute to the constructor will not set it. %prep %setup -q -n MooseX-ClassAttribute-%{version} # silence rpmlint warnings 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 t/ %license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.29-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Apr 20 2024 Miroslav Suchý - 0.29-24 - convert license to SPDX * Thu Jan 25 2024 Fedora Release Engineering - 0.29-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.29-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.29-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.29-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.29-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.29-18 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.29-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.29-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.29-15 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.29-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.29-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.29-12 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.29-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.29-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.29-9 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.29-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.29-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.29-6 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.29-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.29-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 0.29-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.29-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 30 2016 Emmanuel Seyman - 0.29-1 - Update to 0.29 - Drop tests subpackage - Use the %%license tag * Mon May 16 2016 Jitka Plesnikova - 0.27-8 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.27-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.27-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 08 2015 Jitka Plesnikova - 0.27-5 - Perl 5.22 rebuild * Mon Sep 01 2014 Jitka Plesnikova - 0.27-4 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.27-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Petr Pisar - 0.27-2 - Perl 5.18 rebuild * Sat Aug 03 2013 Iain Arnell 0.27-1 - udpate to latest upstream version * Thu Feb 14 2013 Fedora Release Engineering - 0.26-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.26-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 22 2012 Petr Pisar - 0.26-5 - Perl 5.16 rebuild * Sun Jan 22 2012 Iain Arnell 0.26-4 - drop tests subpackage; move tests to main package documentation * Fri Jan 13 2012 Fedora Release Engineering - 0.26-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 20 2011 Petr Sabata - 0.26-2 - Perl mass rebuild * Sat Jul 02 2011 Iain Arnell 0.26-1 - update to latest upstream version - clean up spec for modern rpmbuild * Sun Mar 06 2011 Iain Arnell 0.24-1 - update to latest upstream version * Tue Feb 08 2011 Fedora Release Engineering - 0.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jan 23 2011 Iain Arnell 0.21-1 - update to latest upstream - new BR perl(Test::Fatal) - new BR perl(Test::Requires) >= 0.05 - new BR perl(MooseX::AttributeHelpers) - new BR perl(MooseX::Role::Parameterized) - updated R/BR perl(Moose) >= 1.15 * Sun Jan 23 2011 Iain Arnell 0.16-1 - update to 0.16 - license change from "GPL+ or Artistic" to "Artistic 2.0" * Tue Dec 21 2010 Marcela Maslanova - 0.13-3 - 661697 rebuild for fixing problems with vendorach/lib * Mon May 03 2010 Marcela Maslanova - 0.13-2 - Mass rebuild with perl-5.12.0 * Fri Apr 16 2010 Chris Weyl 0.13-1 - update by Fedora::App::MaintainerTools 0.006 - updating to latest GA CPAN version (0.13) - altered br on perl(Module::Build) (0.340201 => 0.36) - altered br on perl(Moose) (0.89 => 0.98) - altered br on perl(Test::More) (0 => 0.88) - added a new br on perl(namespace::autoclean) (version 0) - dropped old BR on perl(MooseX::AttributeHelpers) - added a new req on perl(Moose) (version 0.98) - added a new req on perl(namespace::autoclean) (version 0) * Fri Dec 4 2009 Stepan Kasal - 0.10-2 - rebuild against perl 5.10.1 * Sat Sep 19 2009 Chris Weyl 0.10-1 - add perl_default_filter - auto-update to 0.10 (by cpan-spec-update 0.01) - altered br on perl(Module::Build) (0 => 0.340201) - altered br on perl(Moose) (0.74 => 0.89) * Sun Jul 26 2009 Fedora Release Engineering - 0.08-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed May 27 2009 Chris Weyl 0.08-1 - auto-update to 0.08 (by cpan-spec-update 0.01) - added a new br on perl(Scalar::Util) (version 0) - altered br on perl(Moose) (0 => 0.74) - altered br on perl(MooseX::AttributeHelpers) (0 => 0.13) * Thu Feb 26 2009 Fedora Release Engineering - 0.07-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Jan 25 2009 Allisson Azevedo 0.07-1 - Initial RPM release