|
|
f02fd96 |
Name: perl-MooseX-Role-Strict
|
|
|
f02fd96 |
Version: 0.05
|
|
|
d7f280b |
Release: 6%{?dist}
|
|
|
f02fd96 |
Summary: Use strict 'roles' in Moose
|
|
|
f02fd96 |
License: GPL+ or Artistic
|
|
|
f02fd96 |
|
|
|
f02fd96 |
URL: http://search.cpan.org/dist/MooseX-Role-Strict/
|
|
|
f02fd96 |
Source0: http://www.cpan.org/authors/id/O/OV/OVID/MooseX-Role-Strict-%{version}.tar.gz
|
|
|
f02fd96 |
|
|
|
f02fd96 |
BuildArch: noarch
|
|
|
064bfd0 |
BuildRequires: perl-interpreter
|
|
|
a58ef6e |
BuildRequires: perl-generators
|
|
|
f02fd96 |
BuildRequires: perl(Module::Build)
|
|
|
f02fd96 |
BuildRequires: perl(Moose)
|
|
|
f02fd96 |
BuildRequires: perl(Moose::Exporter)
|
|
|
f02fd96 |
BuildRequires: perl(Moose::Meta::Role)
|
|
|
f02fd96 |
BuildRequires: perl(Moose::Meta::Role::Application::ToClass)
|
|
|
f02fd96 |
BuildRequires: perl(Moose::Role)
|
|
|
f02fd96 |
BuildRequires: perl(Test::More)
|
|
|
f02fd96 |
BuildRequires: perl(lib)
|
|
|
f02fd96 |
BuildRequires: perl(strict)
|
|
|
f02fd96 |
BuildRequires: perl(warnings)
|
|
|
f02fd96 |
Requires: perl(Moose::Meta::Role)
|
|
|
f02fd96 |
Requires: perl(Moose::Meta::Role::Application::ToClass)
|
|
|
f02fd96 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
f02fd96 |
|
|
|
f02fd96 |
%{?perl_default_filter}
|
|
|
f02fd96 |
|
|
|
f02fd96 |
%description
|
|
|
f02fd96 |
When using Moose::Role, a class which provides a method a role provides will
|
|
|
f02fd96 |
silently override that method. This can cause strange, hard-to-debug errors
|
|
|
f02fd96 |
when the role's methods are not called. Simply use MooseX::Role::Strict instead
|
|
|
f02fd96 |
of Moose::Role and overriding a role's method becomes a composition-time
|
|
|
f02fd96 |
failure.
|
|
|
f02fd96 |
|
|
|
f02fd96 |
%prep
|
|
|
f02fd96 |
%setup -q -n MooseX-Role-Strict-%{version}
|
|
|
f02fd96 |
|
|
|
f02fd96 |
%build
|
|
|
f02fd96 |
%{__perl} Build.PL installdirs=vendor
|
|
|
f02fd96 |
./Build
|
|
|
f02fd96 |
|
|
|
f02fd96 |
%install
|
|
|
f02fd96 |
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
f02fd96 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
f02fd96 |
|
|
|
f02fd96 |
%check
|
|
|
f02fd96 |
./Build test
|
|
|
f02fd96 |
|
|
|
f02fd96 |
%files
|
|
|
f02fd96 |
%doc Changes README TODO
|
|
|
f02fd96 |
%{perl_vendorlib}/MooseX*
|
|
|
f02fd96 |
%{_mandir}/man3/MooseX*
|
|
|
f02fd96 |
|
|
|
f02fd96 |
%changelog
|
|
|
d7f280b |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-6
|
|
|
d7f280b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d7f280b |
|
|
|
f2f02e6 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-5
|
|
|
f2f02e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
f2f02e6 |
|
|
|
e1f1ac1 |
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-4
|
|
|
e1f1ac1 |
- Perl 5.26 rebuild
|
|
|
e1f1ac1 |
|
|
|
881eb1d |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-3
|
|
|
881eb1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
881eb1d |
|
|
|
f02fd96 |
* Wed May 25 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.05-2
|
|
|
f02fd96 |
- Take into account review comments (#1338999)
|
|
|
f02fd96 |
|
|
|
f02fd96 |
* Sun May 22 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.05-1
|
|
|
f02fd96 |
- Specfile autogenerated by cpanspec 1.78.
|