Projects
Eulaceura:Mainline
perl-MooseX-Role-Strict
_service:obs_scm:perl-MooseX-Role-Strict.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-MooseX-Role-Strict.spec of Package perl-MooseX-Role-Strict
Name: perl-MooseX-Role-Strict Version: 0.05 Release: 1 Summary: Use strict 'roles' in Moose License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/MooseX-Role-Strict Source0: https://cpan.metacpan.org/authors/id/O/OV/OVID/MooseX-Role-Strict-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(Module::Build) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Exporter) BuildRequires: perl(Moose::Meta::Role) BuildRequires: perl(Moose::Meta::Role::Application::ToClass) BuildRequires: perl(Moose::Role) BuildRequires: perl(Test::More) BuildRequires: perl(lib) BuildRequires: perl(strict) BuildRequires: perl(warnings) Requires: perl(Moose::Meta::Role) Requires: perl(Moose::Meta::Role::Application::ToClass) %{?perl_default_filter} %description When using Moose::Role, a class which provides a method a role provides will silently override that method. This can cause strange, hard-to-debug errors when the role's methods are not called. Simply use MooseX::Role::Strict instead of Moose::Role and overriding a role's method becomes a composition-time failure. %prep %setup -q -n MooseX-Role-Strict-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files %doc Changes README TODO %{perl_vendorlib}/MooseX* %{_mandir}/man3/MooseX* %changelog * Fri Apr 12 2024 zhangxingrong <zhangxingrong@uniontech.com> - 0.05-1 - Packages init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2