Blame SPECS/perl-Params-Validate.spec

ac4aa0
Summary:        Params-Validate Perl module
ac4aa0
Name:           perl-Params-Validate
ac4aa0
Version:        1.29
ac4aa0
Release:        5%{?dist}
ac4aa0
License:        Artistic 2.0 and (GPL+ or Artistic)
ac4aa0
URL:            http://search.cpan.org/dist/Params-Validate/
ac4aa0
Source0:        http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-Validate-%{version}.tar.gz
ac4aa0
ac4aa0
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
ac4aa0
ac4aa0
BuildRequires:  perl-devel
ac4aa0
BuildRequires:  perl-generators
ac4aa0
BuildRequires:  perl(Carp)
ac4aa0
BuildRequires:  perl(Module::Implementation) >= 0.04
ac4aa0
BuildRequires:  perl(Module::Build) >= 0.28
ac4aa0
ac4aa0
# Run-time:
ac4aa0
BuildRequires:  perl(Exporter)
ac4aa0
BuildRequires:  perl(Scalar::Util) >= 1.20
ac4aa0
BuildRequires:  perl(warnings)
ac4aa0
BuildRequires:  perl(vars)
ac4aa0
BuildRequires:  perl(XSLoader)
ac4aa0
ac4aa0
# Required by the tests
ac4aa0
BuildRequires:  perl(base)
ac4aa0
BuildRequires:  perl(Devel::Peek)
ac4aa0
BuildRequires:  perl(File::Spec)
ac4aa0
BuildRequires:  perl(File::Temp)
ac4aa0
BuildRequires:  perl(JSON::PP) >= 2.27300
ac4aa0
BuildRequires:  perl(lib)
ac4aa0
BuildRequires:  perl(overload)
ac4aa0
BuildRequires:  perl(strict)
ac4aa0
BuildRequires:  perl(Test::Fatal)
ac4aa0
BuildRequires:  perl(Test::More) >= 0.96
ac4aa0
BuildRequires:  perl(Test::Requires)
ac4aa0
BuildRequires:  perl(Test::Taint) >= 0.02
ac4aa0
BuildRequires:  perl(Tie::Array)
ac4aa0
BuildRequires:  perl(Tie::Hash)
ac4aa0
BuildRequires:  perl(Readonly) >= 1.03
ac4aa0
ac4aa0
%description
ac4aa0
The Params::Validate module allows you to validate method or function
ac4aa0
call parameters to an arbitrary level of specificity. At the simplest
ac4aa0
level, it is capable of validating the required parameters were given
ac4aa0
and that no unspecified additional parameters were passed in. It is
ac4aa0
also capable of determining that a parameter is of a specific type,
ac4aa0
that it is an object of a certain class hierarchy, that it possesses
ac4aa0
certain methods, or applying validation callbacks to arguments.
ac4aa0
ac4aa0
%prep
ac4aa0
%setup -q -n Params-Validate-%{version}
ac4aa0
ac4aa0
%build
ac4aa0
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
ac4aa0
./Build
ac4aa0
ac4aa0
%install
ac4aa0
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
ac4aa0
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
ac4aa0
ac4aa0
%{_fixperms} $RPM_BUILD_ROOT/*
ac4aa0
ac4aa0
%check
ac4aa0
./Build test
ac4aa0
ac4aa0
%files
ac4aa0
%doc Changes TODO
ac4aa0
%license LICENSE
ac4aa0
%{perl_vendorarch}/Params
ac4aa0
%{perl_vendorarch}/auto/Params
ac4aa0
%{_mandir}/man3/*
ac4aa0
ac4aa0
%changelog
ac4aa0
* Mon Jul 23 2018 Petr Pisar <ppisar@redhat.com> - 1.29-5
ac4aa0
- Correct license to "Artistic 2.0 and (GPL+ or Artistic)" (bug #1376845)
ac4aa0
ac4aa0
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-4
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ac4aa0
ac4aa0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-3
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ac4aa0
ac4aa0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ac4aa0
ac4aa0
* Mon Jun 19 2017 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.29-1
ac4aa0
- Update to 1.29.
ac4aa0
- Spec file cosmetics.
ac4aa0
ac4aa0
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.28-2
ac4aa0
- Perl 5.26 rebuild
ac4aa0
ac4aa0
* Mon May 08 2017 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.28-1
ac4aa0
- Update to 1.28.
ac4aa0
ac4aa0
* Thu May 04 2017 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.27-1
ac4aa0
- Update to 1.27.
ac4aa0
ac4aa0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-2
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ac4aa0
ac4aa0
* Sun Oct 09 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.26-1
ac4aa0
- Update to 1.26.
ac4aa0
- Reflect upstream having reverted to Module::Build, again ;)
ac4aa0
ac4aa0
* Fri Sep 30 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.25-1
ac4aa0
- Update to 1.25.
ac4aa0
- Reflect upstream having switched to ExtUtils::MakeMaker.
ac4aa0
- Simplify spec.
ac4aa0
ac4aa0
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.24-3
ac4aa0
- Perl 5.24 re-rebuild of bootstrapped packages
ac4aa0
ac4aa0
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.24-2
ac4aa0
- Perl 5.24 rebuild
ac4aa0
ac4aa0
* Mon May 09 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.24-1
ac4aa0
- Upsteam update.
ac4aa0
ac4aa0
* Wed Mar 30 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.23-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Sun Feb 14 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.22-1
ac4aa0
- Upstream update.
ac4aa0
- Reflect changes to BRs.
ac4aa0
ac4aa0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-3
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ac4aa0
ac4aa0
* Fri Jan 22 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.21-2
ac4aa0
- Modernise spec.
ac4aa0
ac4aa0
* Sun Jul 26 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.21-1
ac4aa0
- Upstream update.
ac4aa0
- Reflect Attribute::Params::Validate having been dropped from
ac4aa0
  Params::Validate.
ac4aa0
- Add %%license.
ac4aa0
ac4aa0
* Mon Jul 13 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.20-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Fri Jun 26 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.19-1
ac4aa0
- Upstream update.
ac4aa0
- Remove BR:  perl(Test::Version).
ac4aa0
ac4aa0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ac4aa0
ac4aa0
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-3
ac4aa0
- Perl 5.22 re-rebuild of bootstrapped packages
ac4aa0
ac4aa0
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.18-2
ac4aa0
- Perl 5.22 rebuild
ac4aa0
ac4aa0
* Tue Feb 24 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.18-1
ac4aa0
- Upstream update.
ac4aa0
- BR: perl(Test::Version).
ac4aa0
ac4aa0
* Sun Feb 01 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.17-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Mon Jan 12 2015 Petr Pisar <ppisar@redhat.com> - 1.16-2
ac4aa0
- Remove unused test-time dependency on Readonly:::XS
ac4aa0
ac4aa0
* Thu Jan 08 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.16-1
ac4aa0
- Upstream update.
ac4aa0
- Reflect upstream changes.
ac4aa0
ac4aa0
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-4
ac4aa0
- Perl 5.20 re-rebuild of bootstrapped packages
ac4aa0
ac4aa0
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-3
ac4aa0
- Perl 5.20 rebuild
ac4aa0
ac4aa0
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-2
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ac4aa0
ac4aa0
* Mon Jun 30 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.13-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Sat Jun 28 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.12-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ac4aa0
ac4aa0
* Mon May 12 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.10-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Wed May 07 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.09-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Wed May 07 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-8
ac4aa0
- Use aspell-en instead of hunspell.
ac4aa0
ac4aa0
* Tue May 06 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-7
ac4aa0
- Add "'globals" to Params-Validate-1.08.diff (FTBFS RHBZ #1094169).
ac4aa0
- Remove %%defattr.
ac4aa0
ac4aa0
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.08-6
ac4aa0
- Perl 5.18 re-rebuild of bootstrapped packages
ac4aa0
ac4aa0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-5
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ac4aa0
ac4aa0
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 1.08-4
ac4aa0
- Perl 5.18 rebuild
ac4aa0
ac4aa0
* Thu Jul 18 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-3
ac4aa0
- Adjust license tag (RHBZ #977787).
ac4aa0
ac4aa0
* Thu Jul 18 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-2
ac4aa0
- Add %%bcond --without release-tests.
ac4aa0
- Skip release tests when bootstrapping (RHBZ #982253).
ac4aa0
ac4aa0
* Tue Jun 11 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-1
ac4aa0
- Upstream update.
ac4aa0
- Update patch.
ac4aa0
- Update BRs.
ac4aa0
- Add %%bcond --with network.
ac4aa0
- Fix up %%changelog dates.
ac4aa0
ac4aa0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-2
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ac4aa0
ac4aa0
* Tue Oct 30 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Tue Aug 14 2012 Petr Pisar <ppisar@redhat.com> - 1.06-5
ac4aa0
- Specify all dependencies
ac4aa0
ac4aa0
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-4
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ac4aa0
ac4aa0
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.06-3
ac4aa0
- Perl 5.16 rebuild
ac4aa0
ac4aa0
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 1.06-2
ac4aa0
- Round Module::Build version to 2 digits
ac4aa0
ac4aa0
* Mon Mar 19 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Thu Feb 09 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Mon Feb 06 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.01-1
ac4aa0
- Upstream update.
ac4aa0
- Drop Params-Validate-1.00-no-pod-coverage.patch.
ac4aa0
- Spec file cleanup.
ac4aa0
ac4aa0
* Sun Jan 22 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.00-5
ac4aa0
- Add %%{perl_default_filter}.
ac4aa0
ac4aa0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-4
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ac4aa0
ac4aa0
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.00-3
ac4aa0
- Perl mass rebuild
ac4aa0
ac4aa0
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.00-2
ac4aa0
- Perl mass rebuild
ac4aa0
ac4aa0
* Thu Jun 30 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.00-1
ac4aa0
- Upstream update.
ac4aa0
- Deactivate t/release-pod-coverage.t 
ac4aa0
  (Add Params-Validate-1.00-no-pod-coverage.patch).
ac4aa0
ac4aa0
* Thu Jun 30 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.99-3
ac4aa0
- Fix up bogus Tue Jun 28 2011 changelog entry.
ac4aa0
- Fix License (Artistic2.0).
ac4aa0
- Add BR: perl(Test::CPAN:Changes).
ac4aa0
ac4aa0
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.99-2
ac4aa0
- Perl mass rebuild
ac4aa0
- remove unneeded Pod::Man 
ac4aa0
ac4aa0
* Tue May 31 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.99-1
ac4aa0
- Upstream update.
ac4aa0
- Rebase patch (Params-Validate-0.99.diff).
ac4aa0
ac4aa0
* Sat Apr 30 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.98-1
ac4aa0
- Upstream update.
ac4aa0
- Spec cleanup.
ac4aa0
- Rework BR's.
ac4aa0
- Reflect upstream having abandoned AUTHOR_TESTING.
ac4aa0
- Make spell-checking tests working/work-around aspell/hunspell/perl(Test::Spelling)
ac4aa0
  issues (add Params-Validate-0.98.diff).
ac4aa0
ac4aa0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95-4
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ac4aa0
ac4aa0
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.95-3
ac4aa0
- 661697 rebuild for fixing problems with vendorach/lib
ac4aa0
ac4aa0
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.95-2
ac4aa0
- Mass rebuild with perl-5.12.0
ac4aa0
ac4aa0
* Wed Mar 03 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.95-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Tue Dec 15 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.94-1
ac4aa0
- Upstream update.
ac4aa0
- Reflect upstream having reworked author tests to using AUTHOR_TESTING=1.
ac4aa0
ac4aa0
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.92-2
ac4aa0
- rebuild against perl 5.10.1
ac4aa0
ac4aa0
* Mon Nov 23 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.92-1
ac4aa0
- Upstream update.
ac4aa0
- Switch to Build.PL.
ac4aa0
- Disable IS_MAINTAINER test.
ac4aa0
ac4aa0
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-3
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ac4aa0
ac4aa0
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2
ac4aa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ac4aa0
ac4aa0
* Tue Jun 10 2008 Ralf Corsépius <rc040203@freenet.de> - 0.91-1
ac4aa0
- Upstream update.
ac4aa0
- Conditionally activate IS_MAINTAINER tests.
ac4aa0
ac4aa0
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.89-4
ac4aa0
- Rebuild for perl 5.10 (again)
ac4aa0
ac4aa0
* Sun Feb 10 2008 Ralf Corsépius <rc040203@freenet.de> - 0.89-3
ac4aa0
- Rebuild for gcc43.
ac4aa0
ac4aa0
* Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.89-2
ac4aa0
- rebuild for new perl
ac4aa0
ac4aa0
* Tue Nov 13 2007 Ralf Corsépius <rc040203@freenet.de> - 0.89-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Thu Sep 06 2007 Ralf Corsépius <rc040203@freenet.de> - 0.88-3
ac4aa0
- Update license tag.
ac4aa0
ac4aa0
* Wed Aug 22 2007 Ralf Corsépius <rc040203@freenet.de> - 0.88-2
ac4aa0
- Mass rebuild.
ac4aa0
ac4aa0
* Mon Mar 12 2007 Ralf Corsépius <rc040203@freenet.de> - 0.88-1
ac4aa0
- BR: perl(ExtUtils::MakeMaker).
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Sat Jan 20 2007 Ralf Corsépius <rc040203@freenet.de> - 0.87-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.86-2
ac4aa0
- Mass rebuild.
ac4aa0
ac4aa0
* Sun Aug 13 2006 Ralf Corsépius <rc040203@freenet.de> - 0.86-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Wed Jun 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.85-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Mon Jun 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.84-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Sun May 21 2006 Ralf Corsépius <rc040203@freenet.de> - 0.82-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Tue Apr 04 2006 Ralf Corsépius <rc040203@freenet.de> - 0.81-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Mon Feb 20 2006 Ralf Corsépius <rc040203@freenet.de> - 0.80-2
ac4aa0
- Rebuild.
ac4aa0
ac4aa0
* Wed Feb 01 2006 Ralf Corsépius <rc040203@freenet.de> - 0.80-1
ac4aa0
- Upstream update.
ac4aa0
ac4aa0
* Sat Jan 14 2006 Ralf Corsépius <rc040203@freenet.de> - 0.79-1
ac4aa0
- Upstream update.
ac4aa0
- BR perl(Readonly), perl(Readonly::XS).
ac4aa0
ac4aa0
* Sun Aug 14 2005 Ralf Corsepius <ralf@links2linux.de> - 0.78-2
ac4aa0
- Spec file cleanup.
ac4aa0
ac4aa0
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.78-1
ac4aa0
- FE submission.