Name: perl-Validation-Class Version: 7.900057 Release: 4%{?dist}.1 Summary: Powerful Data Validation Framework License: GPL+ or Artistic URL: http://search.cpan.org/dist/Validation-Class/ Source0: http://www.cpan.org/authors/id/A/AW/AWNCORP/Validation-Class-%{version}.tar.gz BuildArch: noarch BuildRequires: %{__perl} BuildRequires: %{__make} BuildRequires: perl-interpreter >= 0:5.010 BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(Clone) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Hash::Flatten) BuildRequires: perl(Hash::Merge) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Module::Find) BuildRequires: perl(Module::Runtime) BuildRequires: perl(Scalar::Util) BuildRequires: perl(base) BuildRequires: perl(overload) BuildRequires: perl(strict) BuildRequires: perl(utf8) BuildRequires: perl(warnings) BuildRequires: perl(Test::More) BuildRequires: perl(Data::Dumper) BuildRequires: perl(FindBin) BuildRequires: perl(lib) # Optional testsuite requirement BuildRequires: perl(Class::Method::Modifiers) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Validation::Class is a scalable data validation library with interfaces for applications of all sizes. The most common usage of Validation::Class is to transform class namespaces into data validation domains where consistency and reuse are primary concerns. Validation::Class provides an extensible framework for defining reusable data validation rules. It ships with a complete set of pre-defined validations and filters referred to as "directives". %prep %setup -q -n Validation-Class-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 %{__make} %{?_smp_mflags} %install %{__make} pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' %check %{__make} test %files %doc Changes README %license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Nov 16 2017 Xavier Bachelot - 7.900057-4.1 - Delete .packlist. * Thu Jul 27 2017 Fedora Release Engineering - 7.900057-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 7.900057-3 - Perl 5.26 rebuild * Fri Feb 10 2017 Ralf Corsépius - 7.900057-2 - Reflect feedback from review. * Thu Feb 09 2017 Ralf Corsépius - 7.900057-1 - Initial Fedora package.