Group :: Development/Perl
RPM: perl-Params-Validate
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define dist Params-Validate
Name: perl-%dist
Version: 1.31
Release: alt1
Summary: Validate method/function parameters
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{dist}-%{version}.tar.gz
BuildRequires: perl-Attribute-Handlers perl-Module-Build perl-Module-Implementation perl-Test-Fatal perl(Test/Requires.pm)
%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.
%prep
%setup -q -n %{dist}-%{version}
%build
%perl_vendor_build --xs
%install
%perl_vendor_install
# workaround ValidatePP.pm and ValidateXS.pm syntax check failure
%define __spec_autodep_custom_pre export PERL5OPT='-I%buildroot%perl_vendor_archlib -MParams::Validate'
%files
%doc Changes README.md CONTRIBUTING.md
%perl_vendor_archlib/Params
%perl_vendor_autolib/Params
#%perl_vendor_archlib/Attribute
%changelog
…
Full changelog you can see here
%define dist Params-Validate
Name: perl-%dist
Version: 1.31
Release: alt1
Summary: Validate method/function parameters
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{dist}-%{version}.tar.gz
BuildRequires: perl-Attribute-Handlers perl-Module-Build perl-Module-Implementation perl-Test-Fatal perl(Test/Requires.pm)
%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.
%prep
%setup -q -n %{dist}-%{version}
%build
%perl_vendor_build --xs
%install
%perl_vendor_install
# workaround ValidatePP.pm and ValidateXS.pm syntax check failure
%define __spec_autodep_custom_pre export PERL5OPT='-I%buildroot%perl_vendor_archlib -MParams::Validate'
%files
%doc Changes README.md CONTRIBUTING.md
%perl_vendor_archlib/Params
%perl_vendor_autolib/Params
#%perl_vendor_archlib/Attribute
%changelog
…
Full changelog you can see here