commit 6e38126284a6b47cd8b23ab5bf1b3e9a21d8298d Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Tue Jun 28 13:56:33 2011 +0200 use perl_bootstrap macro perl-Perl-MinimumVersion.spec | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) --- diff --git a/perl-Perl-MinimumVersion.spec b/perl-Perl-MinimumVersion.spec index df4777c..2ab93af 100644 --- a/perl-Perl-MinimumVersion.spec +++ b/perl-Perl-MinimumVersion.spec @@ -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@xxxxxxxxxx> - 1.28-2 +- use perl_bootstrap macro + * Fri Jun 17 2011 Ralf Corsépius <ralf.corsepius@xxxxxxxxxxxxxxxxx> - 1.28-1 - Upstream update. - Remove maintainer test (Upstream doesn't want us to find his bugs). -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel