From 6d23f46dce086ff0ef1afe96190f744186c0967c024bf5f541d3ff09cbc64239 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 5 Mar 2010 09:05:23 +0000 Subject: [PATCH] Accepting request 33922 from devel:languages:perl checked in (request 33922) OBS-URL: https://build.opensuse.org/request/show/33922 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Validate?expand=0&rev=8 --- Params-Validate-0.94.tar.bz2 | 3 ++ Params-Validate-0.95.tar.bz2 | 3 -- perl-Params-Validate.changes | 15 -------- perl-Params-Validate.spec | 66 +++++++++++++++--------------------- 4 files changed, 31 insertions(+), 56 deletions(-) create mode 100644 Params-Validate-0.94.tar.bz2 delete mode 100644 Params-Validate-0.95.tar.bz2 diff --git a/Params-Validate-0.94.tar.bz2 b/Params-Validate-0.94.tar.bz2 new file mode 100644 index 0000000..19b8422 --- /dev/null +++ b/Params-Validate-0.94.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7aeb27463ba7d56a1258f8b4e56d34095f9d8978573e9d0849a3742d28e5539c +size 84801 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/perl-Params-Validate.changes b/perl-Params-Validate.changes index 1a2d579..d235130 100644 --- a/perl-Params-Validate.changes +++ b/perl-Params-Validate.changes @@ -1,18 +1,3 @@ -------------------------------------------------------------------- -Sun Feb 21 18:45:29 UTC 2010 - chris@computersalat.de - -- update to 0.95 - - Skip t/29-taint-mode.t entirely, since it seems to randomly fail - for people, despite already being marked a todo test. -- spec mods - o sort TAGS - o added cpan_name - o fixed deps - o added perl-macros - - perl_gen_filelist - o fixed Summary/Description - o added Build test - ------------------------------------------------------------------- Mon Jan 25 13:40:15 CET 2010 - anicka@suse.cz diff --git a/perl-Params-Validate.spec b/perl-Params-Validate.spec index 0220234..b71d150 100644 --- a/perl-Params-Validate.spec +++ b/perl-Params-Validate.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Params-Validate (Version 0.95) +# spec file for package perl-Params-Validate (Version 0.94) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,67 +17,57 @@ # norootforbuild + Name: perl-Params-Validate -%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) -Summary: Validate method/function parameters -Version: 0.95 -Release: 1 +Url: http://cpan.org/modules/by-module/Params/ License: GPLv2+ Group: Development/Libraries/Perl -AutoReqProv: on -Url: http://search.cpan.org/dist/Params-Validate/ -Source: %{cpan_name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: perl -BuildRequires: perl-macros -BuildRequires: perl(Module::Build) -# -BuildRequires: perl(ExtUtils::CBuilder) -BuildRequires: perl(Pod::Man) >= 1.14 -BuildRequires: perl(Test::More) >= 0.34 -#BuildRequires: perl(Test::Taint) >= 0.02 -BuildRequires: perl(Readonly::XS) Requires: perl = %{perl_version} -Requires: perl(Attribute::Handlers) >= 0.79 -Requires: perl(Test::More) >= 0.34 -Requires: perl(Scalar::Util) >= 1.10 -Provides: %{cpan_name} +#Conflicts: perlmod +AutoReqProv: on +Version: 0.94 +Release: 1 +Source: Params-Validate-%{version}.tar.bz2 +Summary: provides a system for validation method/function call parameters +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -The Params::Validate module allows you to validate method or function -call parameters to an arbitrary level of specificity. At the simplest -level, it is capable of validating the required parameters were given -and that no unspecified additional parameters were passed in. +The Params::Validate module provides a flexible system for validation +method/function call parameters. The validation can be as simple as +checking for the presence of required parameters or as complex as +validating object classes (via isa) or capabilities (via can), checking +parameter types, and using customized callbacks to ensure data +integrity. + -It is also capable of determining that a parameter is of a specific -type, that it is an object of a certain class hierarchy, that it -possesses certain methods, or applying validation callbacks to -arguments. Authors: -------- Dave Rolsky %prep -%setup -q -n %{cpan_name}-%{version} +%setup -q -n Params-Validate-%{version} %build perl Build.PL installdirs=vendor ./Build -%check -./Build test - %install ./Build install destdir=$RPM_BUILD_ROOT %perl_process_packlist -%perl_gen_filelist %clean -%{__rm} -rf $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT -%files -f %{name}.files +%files %defattr(-, root, root) -%doc Changes LICENSE README SIGNATURE +%{_mandir}/man3/* +%doc MANIFEST README Changes +#/var/adm/perl-modules/%{name} +%dir %{perl_vendorarch}/Attribute +%{perl_vendorarch}/Attribute/Params +%{perl_vendorarch}/Params +%{perl_vendorarch}/auto/Params +%{_mandir}/man3/*.3pm.gz %changelog