- update to 0.97

- The XS version of the code always called Carp::confess, regardless of
  whether you provided your own on_fail callback. Reported by Scott Bolte. RT
  #66359.
- There were a couple spots that called eval without localizing $@ first. RT
  #58087.
- The parameters for each key validation (can, isa, regex) are now checked,
  and an error is thrown if any of the keys are not valid. Basically, we
  validate the validation spec. Based on a patch by Andreas Faafeng. RT
  #57831.
- This module now requires Perl 5.8.1.
- Switched to version 2.0 of the Artistic License.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Validate?expand=0&rev=12
This commit is contained in:
Vítězslav Čížek 2011-04-21 12:55:20 +00:00 committed by Git OBS Bridge
parent 2b4b6e0404
commit 230d227f46
4 changed files with 24 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:383035853b211c3e5386816b03b4cc653ece72ed8a3e7228d2eb535008de54a9
size 84873

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f2f4453d5db6a72bf803649a8c3d55b97ad3f664ebc76160638bd035339c79d
size 86217

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Apr 21 12:47:54 UTC 2011 - vcizek@novell.com
- update to 0.97
- The XS version of the code always called Carp::confess, regardless of
whether you provided your own on_fail callback. Reported by Scott Bolte. RT
#66359.
- There were a couple spots that called eval without localizing $@ first. RT
#58087.
- The parameters for each key validation (can, isa, regex) are now checked,
and an error is thrown if any of the keys are not valid. Basically, we
validate the validation spec. Based on a patch by Andreas Faafeng. RT
#57831.
- This module now requires Perl 5.8.1.
- Switched to version 2.0 of the Artistic License.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 1 13:34:19 UTC 2010 - coolo@novell.com Wed Dec 1 13:34:19 UTC 2010 - coolo@novell.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Params-Validate (Version 0.95) # spec file for package perl-Params-Validate
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -21,9 +21,9 @@
Name: perl-Params-Validate Name: perl-Params-Validate
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Validate method/function parameters Summary: Validate method/function parameters
Version: 0.95 Version: 0.97
Release: 1 Release: 6
License: GPLv2+ License: Artistic 2.0
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
AutoReqProv: on AutoReqProv: on
Url: http://search.cpan.org/dist/Params-Validate/ Url: http://search.cpan.org/dist/Params-Validate/