Bug 810868 - Circular build dependency in perl-Titanium-1.04-6.fc18
Summary: Circular build dependency in perl-Titanium-1.04-6.fc18
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Titanium
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-09 13:20 UTC by Paul Howarth
Modified: 2012-04-09 18:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-09 18:16:12 UTC
Type: Bug


Attachments (Terms of Use)

Description Paul Howarth 2012-04-09 13:20:04 UTC
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)
+%endif
 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 18:16:12 UTC
Done.
http://koji.fedoraproject.org/koji/taskinfo?taskID=3975024


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