]> git.pld-linux.org Git - packages/perl-Params-Check.git/commitdiff
- adapter
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 26 Jul 2006 12:49:45 +0000 (12:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Params-Check.spec -> 1.2

perl-Params-Check.spec

index dd616f594f90d99135700ad66c2c73ff8340cfff..376ab5e21507e2a95e80f5ad027c3a1ab5e379a8 100644 (file)
@@ -15,8 +15,6 @@ License:      (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 1756a2b387544fea13b442f3be8a39dc
-#Patch0:               %{name}
-# most of CPAN modules have generic URL (substitute pdir and pnam here)
 URL:           http://search.cpan.org/dist/Params-Check
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
@@ -27,16 +25,18 @@ BuildArch:  noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Perl module Params::Check is a generic input parsing/checking mechanism. 
-It allows you to validate input via a template. The only requirement is that the arguments must be named.
-Params::Check can do the following things for you:
- - Convert all keys to lowercase
- - Check if all required arguments have been provided
- - Set arguments that have not been provided to the default
- - Weed out arguments that are not supported and warn about them to the user
- - Validate the arguments given by the user based on strings, regexes, lists or even subroutines
- - Enforce type integrity if required
-
+Perl module Params::Check is a generic input parsing/checking
+mechanism. It allows you to validate input via a template. The only
+requirement is that the arguments must be named. Params::Check can do
+the following things for you:
+- Convert all keys to lowercase
+- Check if all required arguments have been provided
+- Set arguments that have not been provided to the default
+- Weed out arguments that are not supported and warn about them to the
+  user
+- Validate the arguments given by the user based on strings, regexes,
+  lists or even subroutines
+- Enforce type integrity if required
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
This page took 0.056603 seconds and 4 git commands to generate.