Bug 810563 - perl-XML-Twig BuildRequires itself
Summary: perl-XML-Twig BuildRequires itself
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-XML-Twig
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-06 17:41 UTC by Paul Howarth
Modified: 2012-04-10 08:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-10 08:47:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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