Bug 810563 - perl-XML-Twig BuildRequires itself
perl-XML-Twig BuildRequires itself
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: perl-XML-Twig (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Marcela Mašláňová
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-06 13:41 EDT by Paul Howarth
Modified: 2012-04-10 04:47 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-04-10 04:47:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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-06 13:41:48 EDT
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.