commit 6157a4b7af062d0320591b9b219b61358514c4d8 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Wed Feb 8 16:24:26 2012 +0000 Don't BR: perl(Test::Perl::Critic) if we're bootstrapping perl-Package-Generator.spec | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) --- diff --git a/perl-Package-Generator.spec b/perl-Package-Generator.spec index 4051060..52bd845 100644 --- a/perl-Package-Generator.spec +++ b/perl-Package-Generator.spec @@ -1,6 +1,6 @@ Name: perl-Package-Generator Version: 0.103 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Generate new packages quickly and easily License: GPL+ or Artistic Group: Development/Libraries @@ -14,8 +14,11 @@ BuildRequires: perl(Params::Util) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Symbol) BuildRequires: perl(Test::More) +# Test::Perl::Critic -> Perl::Critic -> Exception::Class -> Test::EOL -> +# Pod::Coverage::TrustPod -> Pod::Eventual -> Mixin::Linewise -> +# Sub::Exporter -> Package::Generator # Test::Perl::Critic not available in EPEL-4 -%if "%{rhel}" != "4" +%if "%{rhel}" != "4" && 0%{!?perl_bootstrap:1} BuildRequires: perl(Test::Perl::Critic) %endif BuildRequires: perl(Test::Pod) @@ -41,7 +44,7 @@ find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null %{_fixperms} %{buildroot} %check -make test PERL_TEST_CRITIC=1 +make test %{!?perl_bootstrap:PERL_TEST_CRITIC=1} %clean rm -rf %{buildroot} @@ -54,6 +57,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Package::Reaper.3pm* %changelog +* Tue Feb 7 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.103-9 +- Don't BR: perl(Test::Perl::Critic) if we're bootstrapping + * Wed Feb 1 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.103-8 - Run Perl::Critic test in %%check too - BR: perl(Test::Perl::Critic) -- 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