Bug 810542

Summary: Please make perl bootstrapping easier
Product: [Fedora] Fedora Reporter: Paul Howarth <paul>
Component: foomaticAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jpopelka, perl-devel, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foomatic-4.0.8-9.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-10 12:16:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Paul Howarth 2012-04-06 15:21:03 UTC
All perl packages get rebuilt with a new perl version every other Fedora release, and the build-requirement that foomatic has for itself causes problems with this (e.g. Bug #725979).

There are many circular dependency chains in the perl ecosystem so the Perl SIG is adopting a methodology of doing a mass rebuild with the %perl_bootstrap macro set, such that packages with circular build dependencies can use this to break the cycles.

To that end, it would be good if you could tweak the foomatic spec as shown below to help the perl 5.16 boot process that will happen sometime during the Fedora 18 development cycle:

diff --git a/foomatic.spec b/foomatic.spec
index b5ffc67..29a7035 100644
--- a/foomatic.spec
+++ b/foomatic.spec
@@ -40,7 +40,10 @@ BuildRequires: mpage
 
 # Make sure we get postscriptdriver tags.  Safe to comment out when
 # bootstrapping a new architecture.
-BuildRequires: python-cups, cups, foomatic, foomatic-db
+BuildRequires: python-cups, cups
+%if 0%{!?perl_bootstrap:1}
+BuildRequires: foomatic, foomatic-db
+%endif
 
 Requires: foomatic-db
 Requires: cups

Comment 1 Tim Waugh 2012-04-10 12:16:50 UTC
Thanks for the suggestion.