use perl_bootstrap macro
This commit is contained in:
parent
4accbef608
commit
6e38126284
|
@ -1,6 +1,6 @@
|
||||||
Name: perl-Perl-MinimumVersion
|
Name: perl-Perl-MinimumVersion
|
||||||
Version: 1.28
|
Version: 1.28
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Find a minimum required version of perl for Perl code
|
Summary: Find a minimum required version of perl for Perl code
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
@ -12,14 +12,16 @@ BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: perl(List::Util) >= 1.20
|
BuildRequires: perl(List::Util) >= 1.20
|
||||||
BuildRequires: perl(PPI) >= 1.215
|
BuildRequires: perl(PPI) >= 1.215
|
||||||
BuildRequires: perl(Test::Script) >= 1.03
|
|
||||||
BuildRequires: perl(version) >= 0.76
|
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) >= 0.32
|
||||||
BuildRequires: perl(File::Find::Rule::Perl) >= 1.04
|
BuildRequires: perl(File::Find::Rule::Perl) >= 1.04
|
||||||
BuildRequires: perl(File::Spec) >= 0.80
|
BuildRequires: perl(File::Spec) >= 0.80
|
||||||
BuildRequires: perl(Test::More) >= 0.47
|
BuildRequires: perl(Test::More) >= 0.47
|
||||||
BuildRequires: perl(Perl::Critic::Utils) >= 1.104
|
%endif
|
||||||
BuildRequires: perl(Params::Util) >= 0.25
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Find a minimum required version of perl for Perl code
|
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/*
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if !%{defined perl_bootstrap}
|
||||||
make test
|
make test
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
@ -49,6 +53,9 @@ make test
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jun 17 2011 Ralf Corsépius <ralf.corsepius@fedoraproject.org> - 1.28-1
|
||||||
- Upstream update.
|
- Upstream update.
|
||||||
- Remove maintainer test (Upstream doesn't want us to find his bugs).
|
- Remove maintainer test (Upstream doesn't want us to find his bugs).
|
||||||
|
|
Loading…
Reference in New Issue