From: TizenOpenSource Date: Wed, 14 Feb 2024 04:51:19 +0000 (+0900) Subject: Bump to 0.31 X-Git-Tag: accepted/tizen/unified/20240228.013739^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6cb86d23aee996b2b3d73e2c637a79fcc5abd39;p=platform%2Fupstream%2Fperl-Params-ValidationCompiler.git Bump to 0.31 Signed-off-by: TizenOpenSource --- diff --git a/packaging/perl-Params-ValidationCompiler.manifest b/packaging/perl-Params-ValidationCompiler.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/perl-Params-ValidationCompiler.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/perl-Params-ValidationCompiler.spec b/packaging/perl-Params-ValidationCompiler.spec new file mode 100644 index 0000000..14cfdd4 --- /dev/null +++ b/packaging/perl-Params-ValidationCompiler.spec @@ -0,0 +1,38 @@ +Name: perl-Params-ValidationCompiler +Version: 0.31 +Release: 1 +License: Artistic-2.0 +Summary: Build an optimized subroutine parameter validator once, use it forever +Url: https://metacpan.org/pod/Params::ValidationCompiler +Group: Development/Libraries +Source0: %{name}-%{version}.tar.gz +Source1001: perl-Params-ValidationCompiler.manifest +BuildRequires: perl +BuildRequires: perl(MIME::Base64) +BuildArch: noarch + +%description +This module creates a customized, highly efficient +parameter checking subroutine. It can handle named +or positional parameters, and can return the +parameters as key/value pairs or a list of values. + +In addition to type checks, it also supports +parameter defaults, optional parameters, and +extra "slurpy" parameters. + +%prep +%setup -q -n %{name}-%{version} +cp %{SOURCE1001} . + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%license LICENSE