Name: perl-MooseX-Role-Parameterized Summary: Make your roles flexible through parameterization Version: 0.27 Release: 2%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/MooseX-Role-Parameterized-%{version}.tar.gz Patch0: MooseX-Role-Parameterized-0.27-tm088.patch URL: http://search.cpan.org/dist/MooseX-Role-Parameterized Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(Data::Dumper) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(Moose) >= 0.78 BuildRequires: perl(Storable) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(Moose) >= 0.78 %{?perl_default_filter} %description Roles are composable units of behavior. They are useful for factoring out functionality common to many classes from any part of your class hierarchy. (See Moose::Cookbook::Roles::Recipe1 for an introduction to Moose::Role.) While combining roles affords you a great deal of flexibility, individual roles have very little in the way of configurability. Core Moose provides alias for renaming methods to avoid conflicts, and excludes for ignoring methods you don't want or need (see Moose::Cookbook::Roles::Recipe2 for more about alias and excludes). Because roles serve many different masters, they usually provide only the least common denominator of functionality. To empower roles further, more configurability than alias and excludes is required. Perhaps your role needs to know which method to call when it is done. Or what default value to use for its url attribute. Parameterized roles offer exactly this solution. %prep %setup -q -n MooseX-Role-Parameterized-%{version} # Downgrade Test::More version rqeuirement to 0.88 for EPEL-6 %patch0 %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %{_fixperms} %{buildroot} %check make test %files %doc Changes %{perl_vendorlib}/MooseX/ %{_mandir}/man3/*.3* %changelog * Sun Mar 9 2014 Paul Howarth 0.27-2 - drop tests sub-package for EPEL-6 import - don't need to remove empty directories from the buildroot - add patch to downgrade Test::More version requirement to 0.88 for EPEL-6 * Sat Oct 01 2011 Iain Arnell 0.27-1 - update to latest upstream version * Wed Jul 20 2011 Iain Arnell 0.26-2 - Perl mass rebuild * Sat May 14 2011 Iain Arnell 0.26-1 - update to latest upstream version * Sun Mar 06 2011 Iain Arnell 0.25-1 - update to latest upstream version - clean up spec for modern rpmbuild * Tue Feb 08 2011 Fedora Release Engineering - 0.18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Marcela Maslanova - 0.18-3 - Rebuild to fix problems with vendorarch/lib (#661697) * Thu May 13 2010 Ralf Corsépius 0.18-2 - perl-5.12.0 mass rebuild. * Sun Mar 14 2010 Chris Weyl 0.18-1 - update by Fedora::App::MaintainerTools 0.006 - updating to latest GA CPAN version (0.18) * Sun Feb 28 2010 Chris Weyl 0.17-1 - update by Fedora::App::MaintainerTools 0.004 - PERL_INSTALL_ROOT => DESTDIR * Wed Jan 20 2010 Chris Weyl 0.15-1 - auto-update to 0.15 (by cpan-spec-update 0.01) - altered br on perl(Test::More) (0 => 0.88) * Fri Dec 4 2009 Stepan Kasal - 0.13-2 - rebuild against perl 5.10.1 * Sat Sep 19 2009 Chris Weyl 0.13-1 - auto-update to 0.13 (by cpan-spec-update 0.01) - added a new br on perl(Test::Moose) (version 0) * Wed Aug 19 2009 Chris Weyl 0.10-1 - auto-update to 0.10 (by cpan-spec-update 0.01) * Sun Jul 26 2009 Fedora Release Engineering - 0.09-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Jun 16 2009 Chris Weyl 0.09-2 - drop README, LICENSE from doc * Tue Jun 16 2009 Chris Weyl 0.09-1 - auto-update to 0.09 (by cpan-spec-update 0.01) - added a new br on perl(ExtUtils::MakeMaker) (version 6.42) - added a new req on perl(Moose) (version 0.78) * Wed May 20 2009 Chris Weyl 0.06-1 - auto-update to 0.06 (by cpan-spec-update 0.01) - altered br on perl(Test::Exception) (0 => 0.27) - altered br on perl(Moose) (0.63 => 0.78) * Thu Feb 26 2009 Fedora Release Engineering - 0.04-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 11 2009 Chris Weyl 0.04-1 - update to 0.04 * Sun Jan 25 2009 Chris Weyl 0.03-1 - update to 0.03 * Mon Jan 12 2009 Chris Weyl 0.02-1 - update for submission * Sun Jan 11 2009 Chris Weyl 0.02-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.7)