Group :: Desenvolvimento/Perl
RPM: perl-MooX-TypeTiny
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define module_name MooX-TypeTiny
# BEGIN SourceDeps(oneline):
BuildRequires: perl(ExtUtils/MakeMaker.pm) perl(Moo.pm) perl(Sub/Quote.pm) perl(Test/Fatal.pm) perl(Test/More.pm) perl(Type/Tiny.pm)
# END SourceDeps(oneline)
BuildRequires: rpm-build-perl perl-devel perl-podlators
Name: perl-%module_name
Version: 0.002003
Release: alt1
Summary: Optimized type checks for Moo + Type::Tiny
Group: Development/Perl
License: perl
Url: %CPAN %module_name
Source0: http://www.cpan.org/authors/id/H/HA/HAARG/%{module_name}-%{version}.tar.gz
BuildArch: noarch
%description
This module optimizes the Moo manpage type checks when used with the Type::Tiny manpage to perform
better. It will automatically apply to isa checks and coercions that use
Type::Tiny. Non-Type::Tiny isa checks will work as normal.
This is done by inlining the type check in a more optimal manner that is
specific to Type::Tiny rather than the general mechanism Moo usually uses.
With this module, setters with type checks should be as fast as an equivalent
check in the Moose manpage.
It is hoped that eventually this type inlining will be done automatically,
making this module unnecessary.
%prep
%setup -q -n %{module_name}-%{version}
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README Changes
%perl_vendor_privlib/M*
%changelog
…
Todas as alterações você pod ver aqui
%define module_name MooX-TypeTiny
# BEGIN SourceDeps(oneline):
BuildRequires: perl(ExtUtils/MakeMaker.pm) perl(Moo.pm) perl(Sub/Quote.pm) perl(Test/Fatal.pm) perl(Test/More.pm) perl(Type/Tiny.pm)
# END SourceDeps(oneline)
BuildRequires: rpm-build-perl perl-devel perl-podlators
Name: perl-%module_name
Version: 0.002003
Release: alt1
Summary: Optimized type checks for Moo + Type::Tiny
Group: Development/Perl
License: perl
Url: %CPAN %module_name
Source0: http://www.cpan.org/authors/id/H/HA/HAARG/%{module_name}-%{version}.tar.gz
BuildArch: noarch
%description
This module optimizes the Moo manpage type checks when used with the Type::Tiny manpage to perform
better. It will automatically apply to isa checks and coercions that use
Type::Tiny. Non-Type::Tiny isa checks will work as normal.
This is done by inlining the type check in a more optimal manner that is
specific to Type::Tiny rather than the general mechanism Moo usually uses.
With this module, setters with type checks should be as fast as an equivalent
check in the Moose manpage.
It is hoped that eventually this type inlining will be done automatically,
making this module unnecessary.
%prep
%setup -q -n %{module_name}-%{version}
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README Changes
%perl_vendor_privlib/M*
%changelog
…
Todas as alterações você pod ver aqui