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
This commit is contained in:
Paul Howarth 2016-11-03 11:55:05 +00:00
parent 6313c66174
commit 0a9febde93
2 changed files with 14 additions and 8 deletions

View File

@ -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 <paul@city-fan.org> - 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 <ppisar@redhat.com> - 0.13-4
- Break build cycle: perl-Moose perl-DateTime perl-Params-ValidationCompiler

View File

@ -1 +1 @@
e654da776110d5e821c43b2f30f03d68 Params-ValidationCompiler-0.13.tar.gz
8afb3f8013049f5f4ae9d30d24eb6fe0 Params-ValidationCompiler-0.14.tar.gz