|
|
d086ec |
%{?scl:%scl_package perl-Params-Check}
|
|
|
d086ec |
|
|
|
d086ec |
Name: %{?scl_prefix}perl-Params-Check
|
|
|
d086ec |
# Epoch to compete with perl.spec
|
|
|
d086ec |
Epoch: 1
|
|
|
d086ec |
Version: 0.38
|
|
|
d086ec |
Release: 451%{?dist}
|
|
|
d086ec |
Summary: Generic input parsing/checking mechanism
|
|
|
d086ec |
License: GPL+ or Artistic
|
|
|
d086ec |
URL: https://metacpan.org/release/Params-Check
|
|
|
d086ec |
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Params-Check-%{version}.tar.gz
|
|
|
d086ec |
BuildArch: noarch
|
|
|
d086ec |
BuildRequires: %{?scl_prefix}perl-interpreter
|
|
|
d086ec |
BuildRequires: %{?scl_prefix}perl-generators
|
|
|
d086ec |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker)
|
|
|
d086ec |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
d086ec |
# Run-time:
|
|
|
d086ec |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
d086ec |
BuildRequires: %{?scl_prefix}perl(Exporter)
|
|
|
d086ec |
BuildRequires: %{?scl_prefix}perl(Locale::Maketext::Simple)
|
|
|
d086ec |
BuildRequires: %{?scl_prefix}perl(vars)
|
|
|
d086ec |
# Tests:
|
|
|
d086ec |
BuildRequires: %{?scl_prefix}perl(constant)
|
|
|
d086ec |
BuildRequires: %{?scl_prefix}perl(Test::More)
|
|
|
d086ec |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
d086ec |
|
|
|
d086ec |
%description
|
|
|
d086ec |
This is a generic input parsing/checking mechanism. It allows you to
|
|
|
d086ec |
validate input via a template. The only requirement is that the arguments
|
|
|
d086ec |
must be named.
|
|
|
d086ec |
|
|
|
d086ec |
%prep
|
|
|
d086ec |
%setup -q -n Params-Check-%{version}
|
|
|
d086ec |
|
|
|
d086ec |
%build
|
|
|
d086ec |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
|
|
|
d086ec |
|
|
|
d086ec |
%install
|
|
|
d086ec |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
|
|
|
d086ec |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
d086ec |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
d086ec |
|
|
|
d086ec |
%check
|
|
|
d086ec |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
d086ec |
|
|
|
d086ec |
%files
|
|
|
d086ec |
%doc CHANGES README
|
|
|
d086ec |
%{perl_vendorlib}/*
|
|
|
d086ec |
%{_mandir}/man3/*
|
|
|
d086ec |
|
|
|
d086ec |
%changelog
|
|
|
d086ec |
* Fri Dec 20 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.38-451
|
|
|
d086ec |
- SCL
|
|
|
d086ec |
|
|
|
d086ec |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.38-439
|
|
|
d086ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.38-438
|
|
|
d086ec |
- Increase release to favour standalone package
|
|
|
d086ec |
|
|
|
d086ec |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.38-418
|
|
|
d086ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.38-417
|
|
|
d086ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.38-416
|
|
|
d086ec |
- Increase release to favour standalone package
|
|
|
d086ec |
|
|
|
d086ec |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.38-395
|
|
|
d086ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.38-394
|
|
|
d086ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.38-393
|
|
|
d086ec |
- Perl 5.26 rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.38-366
|
|
|
d086ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.38-365
|
|
|
d086ec |
- Increase release to favour standalone package
|
|
|
d086ec |
|
|
|
d086ec |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.38-347
|
|
|
d086ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.38-346
|
|
|
d086ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.38-345
|
|
|
d086ec |
- Increase release to favour standalone package
|
|
|
d086ec |
|
|
|
d086ec |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.38-311
|
|
|
d086ec |
- Perl 5.22 rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.38-310
|
|
|
d086ec |
- Increase release to favour standalone package
|
|
|
d086ec |
|
|
|
d086ec |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.38-5
|
|
|
d086ec |
- Perl 5.20 rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.38-4
|
|
|
d086ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.38-3
|
|
|
d086ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:0.38-2
|
|
|
d086ec |
- Perl 5.18 rebuild
|
|
|
d086ec |
|
|
|
d086ec |
* Fri Jun 21 2013 Petr Pisar <ppisar@redhat.com> - 1:0.38-1
|
|
|
d086ec |
- 0.38 bump
|
|
|
d086ec |
|
|
|
d086ec |
* Fri Jan 25 2013 Petr Pisar <ppisar@redhat.com> 1:0.36-1
|
|
|
d086ec |
- Specfile autogenerated by cpanspec 1.78.
|