From 230d227f4674c3a88d2147600d967a11d05b221d92f55c386092ad819a709dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20=C4=8C=C3=AD=C5=BEek?= Date: Thu, 21 Apr 2011 12:55:20 +0000 Subject: [PATCH] - 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 --- Params-Validate-0.95.tar.bz2 | 3 --- Params-Validate-0.97.tar.bz2 | 3 +++ perl-Params-Validate.changes | 16 ++++++++++++++++ perl-Params-Validate.spec | 10 +++++----- 4 files changed, 24 insertions(+), 8 deletions(-) delete mode 100644 Params-Validate-0.95.tar.bz2 create mode 100644 Params-Validate-0.97.tar.bz2 diff --git a/Params-Validate-0.95.tar.bz2 b/Params-Validate-0.95.tar.bz2 deleted file mode 100644 index 5bb264d..0000000 --- a/Params-Validate-0.95.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:383035853b211c3e5386816b03b4cc653ece72ed8a3e7228d2eb535008de54a9 -size 84873 diff --git a/Params-Validate-0.97.tar.bz2 b/Params-Validate-0.97.tar.bz2 new file mode 100644 index 0000000..e9b80d8 --- /dev/null +++ b/Params-Validate-0.97.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f2f4453d5db6a72bf803649a8c3d55b97ad3f664ebc76160638bd035339c79d +size 86217 diff --git a/perl-Params-Validate.changes b/perl-Params-Validate.changes index f8df801..2e723e6 100644 --- a/perl-Params-Validate.changes +++ b/perl-Params-Validate.changes @@ -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 diff --git a/perl-Params-Validate.spec b/perl-Params-Validate.spec index ae2240b..160faa3 100644 --- a/perl-Params-Validate.spec +++ b/perl-Params-Validate.spec @@ -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 # remain the property of their copyright owners, unless otherwise agreed @@ -21,9 +21,9 @@ Name: perl-Params-Validate %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Validate method/function parameters -Version: 0.95 -Release: 1 -License: GPLv2+ +Version: 0.97 +Release: 6 +License: Artistic 2.0 Group: Development/Libraries/Perl AutoReqProv: on Url: http://search.cpan.org/dist/Params-Validate/