Bug 810868 - Circular build dependency in perl-Titanium-1.04-6.fc18
Circular build dependency in perl-Titanium-1.04-6.fc18
Product: Fedora
Classification: Fedora
Component: perl-Titanium (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Emmanuel Seyman
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-04-09 09:20 EDT by Paul Howarth
Modified: 2012-04-09 14:16 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-04-09 14:16:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Paul Howarth 2012-04-09 09:20:04 EDT
perl-Titanium build-requires perl(Module::Starter::Plugin::CGIApp) but perl-Module-Starter-Plugin-CGIApp requires perl(Titanium) itself.

Fortunately, perl-Titanium's test suite doesn't appear to actually test its functionality, so we can get away without BR: perl(Module::Starter::Plugin::CGIApp) when bootstrapping:

diff --git a/perl-Titanium.spec b/perl-Titanium.spec
index eea9d4a..2ac20ca 100644
--- a/perl-Titanium.spec
+++ b/perl-Titanium.spec
@@ -25,7 +25,10 @@ BuildRequires:  perl(CGI::Application::Plugin::ValidateRM)
 BuildRequires:  perl(CGI::Application::Server)
 BuildRequires:  perl(CGI::Application::Standard::Config)
 BuildRequires:  perl(Module::Build)
+# Module::Starter::Plugin::CGIApp requires Titanium itself
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(Module::Starter::Plugin::CGIApp)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::WWW::Mechanize::CGIApp)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Comment 1 Emmanuel Seyman 2012-04-09 14:16:12 EDT

Note You need to log in before you can comment on or make changes to this bug.