From 0a9febde936f56551960740dce2da5968d49deab Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Thu, 3 Nov 2016 11:55:05 +0000 Subject: [PATCH] Update to 0.14 - New upstream release 0.14 - Added a "named_to_list" option to support returning only the parameter values from a named parameter validator rather than the key-value pairs - Errors from calls to validation_for() now use croak so as to show up at the call site, rather than in the internals --- perl-Params-ValidationCompiler.spec | 20 +++++++++++++------- sources | 2 +- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/perl-Params-ValidationCompiler.spec b/perl-Params-ValidationCompiler.spec index c518250..a0527a2 100644 --- a/perl-Params-ValidationCompiler.spec +++ b/perl-Params-ValidationCompiler.spec @@ -1,6 +1,6 @@ Name: perl-Params-ValidationCompiler -Version: 0.13 -Release: 4%{?dist} +Version: 0.14 +Release: 1%{?dist} Summary: Build an optimized subroutine parameter validator once, use it forever License: Artistic 2.0 URL: http://search.cpan.org/dist/Params-ValidationCompiler/ @@ -13,9 +13,11 @@ BuildRequires: perl BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) > 6.75 # Module +BuildRequires: perl(Carp) BuildRequires: perl(Eval::Closure) BuildRequires: perl(Exception::Class) BuildRequires: perl(Exporter) +BuildRequires: perl(List::Util) >= 1.29 BuildRequires: perl(overload) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) @@ -32,16 +34,13 @@ BuildRequires: perl(Test2::Plugin::NoWarnings) BuildRequires: perl(Test2::Require::Module) BuildRequires: perl(Test::More) >= 1.302015 BuildRequires: perl(Test::Without::Module) -# Optional Tests +# Optional Tests (avoid build dependency cycles via Moose and DateTime) BuildRequires: perl(Const::Fast) BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(CPAN::Meta::Prereqs) BuildRequires: perl(Hash::Util) %if !%{defined perl_bootstrap} -# Build cycle: perl-Moose → perl-DateTime → perl-Params-ValidationCompiler BuildRequires: perl(Moose::Util::TypeConstraints) -# Build cycle: perl-Type-Tiny → perl-Moose → perl-DateTime → -# perl-Params-ValidationCompiler BuildRequires: perl(Types::Standard) %endif # Dependencies @@ -61,7 +60,7 @@ make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} -%{_fixperms} %{buildroot} +%{_fixperms} -c %{buildroot} %check make test @@ -75,6 +74,13 @@ make test %{_mandir}/man3/Params::ValidationCompiler::Exceptions.3* %changelog +* Thu Nov 3 2016 Paul Howarth - 0.14-1 +- Update to 0.14 + - Added a "named_to_list" option to support returning only the parameter + values from a named parameter validator rather than the key-value pairs + - Errors from calls to validation_for() now use croak so as to show up at the + call site, rather than in the internals + * Wed Oct 26 2016 Petr Pisar - 0.13-4 - Break build cycle: perl-Moose → perl-DateTime → perl-Params-ValidationCompiler diff --git a/sources b/sources index ae016b3..9100e2a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e654da776110d5e821c43b2f30f03d68 Params-ValidationCompiler-0.13.tar.gz +8afb3f8013049f5f4ae9d30d24eb6fe0 Params-ValidationCompiler-0.14.tar.gz