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