1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
%define dist MooseX-AuthorizedMethods Name: perl-%dist Version: 0.006 Release: alt1.1 Summary: Syntax sugar for authorized methods License: GPL or Artistic Group: Development/Perl URL: %CPAN %dist Source: %dist-%version.tar.gz BuildArch: noarch # Automatically added by buildreq on Sun Nov 20 2011 BuildRequires: perl-Moose perl-Pod-Escapes perl-aliased perl-devel %description This method exports the "authorized" declarator that makes a verification if the user has the required permissions before the acual invocation. The default verification method will take the "user" method result and call "roles" to list the roles given to that user. %prep %setup -q -n %dist-%version %build %perl_vendor_build %install %perl_vendor_install %files %doc README %perl_vendor_privlib/MooseX %changelog * Sat Apr 09 2016 Igor Vlasenko <viy@altlinux.ru> 0.006-alt1.1 - rebuild to restore role requires * Sun Nov 20 2011 Alexey Tourbin <at@altlinux.ru> 0.006-alt1 - initial revision