Projects
home:Eustace:branches:Eulaceura:Factory
perl-MooseX-StrictConstructor
_service:obs_scm:perl-MooseX-StrictConstructor....
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-MooseX-StrictConstructor.spec of Package perl-MooseX-StrictConstructor
Name: perl-MooseX-StrictConstructor Version: 0.21 Release: 1 # see lib/MooseX/StrictConstructor.pm License: Artistic-2.0 Summary: Make your object constructors blow up on unknown attributes Source: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/MooseX-StrictConstructor-%{version}.tar.gz Url: https://metacpan.org/release/MooseX-StrictConstructor BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(B) BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(File::Spec) BuildRequires: perl(Moo) BuildRequires: perl(Moose) >= 0.94 BuildRequires: perl(Moose::Exporter) BuildRequires: perl(Moose::Role) BuildRequires: perl(Moose::Util::MetaRole) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Needs) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(strict) BuildRequires: perl(warnings) %{?perl_default_filter} %description Simply loading this module makes your constructors "strict". If your constructor is called with an attribute init argument that your class does not declare, then it calls "Carp::confess()". This is a great way to catch small typos. %prep %setup -q -n MooseX-StrictConstructor-%{version} # avoid rpmlint wrong-script-interpreter warning perl -MConfig -i -pe '$. == 1 && s~#!.*perl~$Config{startperl}~' t/*.t %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* %check make test %files %doc Changes %license LICENSE %{perl_vendorlib}/MooseX* %{_mandir}/man3/MooseX*.3* %changelog * Tue Apr 9 2024 zhangxingrong <zhangxingrong@uniontech.com> - 0.21-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