[perl-Test-WWW-Mechanize-Catalyst] avoid circular build dependencies

Iain Arnell iarnell at fedoraproject.org
Wed Apr 11 11:24:43 UTC 2012


commit 32b93525788d030453caf1af5f0a6d256ef7e59b
Author: Iain Arnell <iarnell at gmail.com>
Date:   Wed Apr 11 05:20:06 2012 -0600

    avoid circular build dependencies

 perl-Test-WWW-Mechanize-Catalyst.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/perl-Test-WWW-Mechanize-Catalyst.spec b/perl-Test-WWW-Mechanize-Catalyst.spec
index 3e18422..23bcdd6 100644
--- a/perl-Test-WWW-Mechanize-Catalyst.spec
+++ b/perl-Test-WWW-Mechanize-Catalyst.spec
@@ -10,7 +10,11 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
 BuildArch:      noarch
 
 BuildRequires:  perl(Catalyst) >= 5.00
+# Catalyst::Plugin::Session::State::Cookie and Test::WWW::Mechanize::Catalyst
+# use each other in their test suites
+%if !0%{?perl_bootstrap}
 BuildRequires:  perl(Catalyst::Plugin::Session::State::Cookie)
+%endif
 BuildRequires:  perl(Catalyst::Plugin::Session::Store::Dummy)
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(LWP) >= 5.816
@@ -72,6 +76,7 @@ make test
 %changelog
 * Thu Apr 05 2012 Iain Arnell <iarnell at gmail.com> 0.57-1
 - update to latest upstream version
+- avoid circular build dependencies (patch from Paul Howarth rhbz#810721)
 
 * Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.56-3
 - drop tests subpackage; move tests to main package documentation


More information about the scm-commits mailing list