|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Perl-MinimumVersion
|
|
|
|
|
Version: 1.28
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Find a minimum required version of perl for Perl code
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -12,14 +12,16 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(List::Util) >= 1.20
|
|
|
|
|
BuildRequires: perl(PPI) >= 1.215
|
|
|
|
|
BuildRequires: perl(Test::Script) >= 1.03
|
|
|
|
|
BuildRequires: perl(version) >= 0.76
|
|
|
|
|
BuildRequires: perl(Perl::Critic::Utils) >= 1.104
|
|
|
|
|
BuildRequires: perl(Params::Util) >= 0.25
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
BuildRequires: perl(Test::Script) >= 1.03
|
|
|
|
|
BuildRequires: perl(File::Find::Rule) >= 0.32
|
|
|
|
|
BuildRequires: perl(File::Find::Rule::Perl) >= 1.04
|
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.80
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
|
BuildRequires: perl(Perl::Critic::Utils) >= 1.104
|
|
|
|
|
BuildRequires: perl(Params::Util) >= 0.25
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Find a minimum required version of perl for Perl code
|
|
|
|
@ -38,7 +40,9 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
make test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
@ -49,6 +53,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.28-2
|
|
|
|
|
- use perl_bootstrap macro
|
|
|
|
|
|
|
|
|
|
* Fri Jun 17 2011 Ralf Corsépius <ralf.corsepius@fedoraproject.org> - 1.28-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
- Remove maintainer test (Upstream doesn't want us to find his bugs).
|
|
|
|
|