Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37770208
en ru br
Репозитории ALT
S:1.31-alt1
5.1: 0.92-alt1
4.1: 0.89-alt1
4.0: 0.87-alt1
3.0: 0.76-alt1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Params-Validate

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin