Bug 810563

Summary: perl-XML-Twig BuildRequires itself
Product: [Fedora] Fedora Reporter: Paul Howarth <paul>
Component: perl-XML-TwigAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cweyl, mmaslano, ppisar, psabata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-10 08:47:24 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 17:41:48 UTC
perl-XML-Twig has buildreqs for perl(XML::Twig::Elt) and perl(XML::Twig::XPath), both of which are provided by perl-XML-Twig itself, so the package is actually build-requiring itself. This is bad news when it comes to bootstrapping a new perl release, as will be happening for perl 5.16 in Rawhide before too long.

The package builds just fine without these build requirements, so it would make sense to remove them:

diff --git a/perl-XML-Twig.spec b/perl-XML-Twig.spec
index 050bb4e..25e1a43 100644
--- a/perl-XML-Twig.spec
+++ b/perl-XML-Twig.spec
@@ -50,8 +50,6 @@ BuildRequires:  perl(XML::Handler::YAWriter)
 BuildRequires:  perl(XML::Parser) >= 2.34
 BuildRequires:  perl(XML::SAX::Writer)
 BuildRequires:  perl(XML::Simple)
-BuildRequires:  perl(XML::Twig::Elt)
-BuildRequires:  perl(XML::Twig::XPath)
 BuildRequires:  perl(XML::XPathEngine)
 BuildRequires:  perl(XML::XPath)
 Requires:       perl(XML::Parser) >= 2.34