Name: perl-MooseX-SemiAffordanceAccessor Summary: Name your accessors foo() and set_foo() Version: 0.08 Release: 3%{?dist} License: Artistic 2.0 Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/MooseX-SemiAffordanceAccessor-%{version}.tar.gz URL: http://search.cpan.org/dist/MooseX-SemiAffordanceAccessor BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31 BuildRequires: perl(Moose) >= 0.94 BuildRequires: perl(Moose::Exporter) BuildRequires: perl(Moose::Role) BuildRequires: perl(Moose::Util::MetaRole) BuildRequires: perl(strict) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(warnings) %{?perl_default_filter} %{?perl_default_subpackage_tests} %description This module does not provide any methods. Simply loading it changes the default naming policy for the loading class so that accessors are separated into get and set methods. The get methods have the same name as the accessor, while set methods are prefixed with "set_".If you define an attribute with a leading underscore, then the set method will start with "_set_".If you explicitly set a "reader" or "writer" name when creating an attribute, then that attribute's naming scheme is left unchanged. %prep %setup -q -n MooseX-SemiAffordanceAccessor-%{version} # sigh find lib/ -type f -exec perl -pi -e 's/0\.5504/0.55/' {} ';' %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README LICENSE %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Wed Jun 08 2016 Jitka Plesnikova - 0.08-3 - Unretire package (bug #1342135) * Thu Aug 26 2010 Iain Arnell 0.08-2 - add new LICENSE to docs * Thu Aug 26 2010 Iain Arnell 0.08-1 - update by Fedora::App::MaintainerTools 0.006 - PERL_INSTALL_ROOT => DESTDIR - updating to latest GA CPAN version (0.08) - altered br on perl(ExtUtils::MakeMaker) (0 => 6.31) - altered br on perl(Moose) (0.84 => 0.94) - altered br on perl(Test::More) (0 => 0.88) - dropped old BR on perl(Module::Build::Compat) - altered req on perl(Moose) (0.84 => 0.94) * Tue May 04 2010 Marcela Maslanova - 0.05-3 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 0.05-2 - rebuild against perl 5.10.1 * Sat Aug 08 2009 Chris Weyl 0.05-1 - auto-update to 0.05 (by cpan-spec-update 0.01) - altered br on perl(Moose) (0.56 => 0.84) - added a new req on perl(Moose) (version 0.84) * Sun Jul 26 2009 Fedora Release Engineering - 0.03-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Jun 07 2009 Chris Weyl 0.03-1 - submission * Sun Jun 07 2009 Chris Weyl 0.03-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)