Update to 0.30
- New upstream release 0.30 - Added a new option for named params, "return_object", which causes the validation sub to return an object with methods for each param rather than a hashref; this is a great way to avoid typos in hash keys (idea shamelessly stolen from Toby Inkster's Type::Params module) - Tweaked the POD formatting so that the table of contents generated by MetaCPAN is more useful - Optionally use Class::XSAccessor
This commit is contained in:
parent
1d7aac05a2
commit
d0afed733a
|
@ -6,12 +6,12 @@
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: perl-Params-ValidationCompiler
|
Name: perl-Params-ValidationCompiler
|
||||||
Version: 0.27
|
Version: 0.30
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Build an optimized subroutine parameter validator once, use it forever
|
Summary: Build an optimized subroutine parameter validator once, use it forever
|
||||||
License: Artistic 2.0
|
License: Artistic 2.0
|
||||||
URL: https://metacpan.org/release/Params-ValidationCompiler
|
URL: https://metacpan.org/release/Params-ValidationCompiler
|
||||||
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/modules/by-module/Params/Params-ValidationCompiler-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Build
|
# Build
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
|
@ -22,6 +22,7 @@ BuildRequires: perl(ExtUtils::MakeMaker) > 6.75
|
||||||
# Module
|
# Module
|
||||||
BuildRequires: perl(B)
|
BuildRequires: perl(B)
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(Class::XSAccessor)
|
||||||
BuildRequires: perl(Eval::Closure)
|
BuildRequires: perl(Eval::Closure)
|
||||||
BuildRequires: perl(Exception::Class)
|
BuildRequires: perl(Exception::Class)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
|
@ -56,7 +57,8 @@ BuildRequires: perl(Types::Standard)
|
||||||
%endif
|
%endif
|
||||||
# Dependencies
|
# Dependencies
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
Requires: perl(Sub::Util) >= 1.40
|
Recommends: perl(Class::XSAccessor)
|
||||||
|
Recommends: perl(Sub::Util) >= 1.40
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Create a customized, optimized, non-lobotomized, uncompromised, and thoroughly
|
Create a customized, optimized, non-lobotomized, uncompromised, and thoroughly
|
||||||
|
@ -78,13 +80,23 @@ make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc Changes eg/ README.md
|
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md eg/ README.md
|
||||||
%{perl_vendorlib}/Params/
|
%{perl_vendorlib}/Params/
|
||||||
%{_mandir}/man3/Params::ValidationCompiler.3*
|
%{_mandir}/man3/Params::ValidationCompiler.3*
|
||||||
%{_mandir}/man3/Params::ValidationCompiler::Compiler.3*
|
%{_mandir}/man3/Params::ValidationCompiler::Compiler.3*
|
||||||
%{_mandir}/man3/Params::ValidationCompiler::Exceptions.3*
|
%{_mandir}/man3/Params::ValidationCompiler::Exceptions.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 1 2018 Paul Howarth <paul@city-fan.org> - 0.30-1
|
||||||
|
- Update to 0.30
|
||||||
|
- Added a new option for named params, "return_object", which causes the
|
||||||
|
validation sub to return an object with methods for each param rather than
|
||||||
|
a hashref; this is a great way to avoid typos in hash keys (idea
|
||||||
|
shamelessly stolen from Toby Inkster's Type::Params module)
|
||||||
|
- Tweaked the POD formatting so that the table of contents generated by
|
||||||
|
MetaCPAN is more useful
|
||||||
|
- Optionally use Class::XSAccessor
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-4
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
SHA512 (Params-ValidationCompiler-0.27.tar.gz) = 1c045e7b4b68f7b54cc3f1aa927c515b7662ddd5252baf22be149365b7087b5910219d3e08752e005cfd89a10a740fb2e1a41d8f7fed8765a56eade5d406c9dc
|
SHA512 (Params-ValidationCompiler-0.30.tar.gz) = 5911f9317f0b72e17c72435420a3b6b9f36780ab70715510c46e847970094e730169b9b3085f29cb23ee0aca2e78f7f9edd0d093859a1062869f35c90172bf05
|
||||||
|
|
Loading…
Reference in New Issue