[perl-HTML-TreeBuilder-LibXML] Don't BR: perl(Web::Scraper) when bootstrapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 88f95f08f8478bae65b58b01c2186fb074162f27
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Jul 9 11:48:52 2013 +0100

    Don't BR: perl(Web::Scraper) when bootstrapping
    
    perl-Web-Scraper requires HTML::TreeBuilder::LibXML so don't pull
    in this optional test requirement when bootstrapping (#982293)

 perl-HTML-TreeBuilder-LibXML.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/perl-HTML-TreeBuilder-LibXML.spec b/perl-HTML-TreeBuilder-LibXML.spec
index ef0025c..93703d2 100644
--- a/perl-HTML-TreeBuilder-LibXML.spec
+++ b/perl-HTML-TreeBuilder-LibXML.spec
@@ -1,6 +1,6 @@
 Name:           perl-HTML-TreeBuilder-LibXML
 Version:        0.23
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        HTML::TreeBuilder and XPath compatible interface with libxml
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -15,9 +15,14 @@ BuildRequires:  perl(inc::Module::Install)
 BuildRequires:  perl(HTML::TreeBuilder::XPath) >= 0.14
 BuildRequires:  perl(Test::Exception)
 BuildRequires:  perl(Test::More) >= 0.98
-BuildRequires:  perl(Web::Scraper)
 BuildRequires:  perl(XML::LibXML) >= 1.7
 
+# perl-Web-Scraper requires HTML::TreeBuilder::LibXML so don't pull
+# in this optional test requirement when bootstrapping (#982293)
+%if 0%{!?perl_bootstrap:1}
+BuildRequires:  perl(Web::Scraper)
+%endif
+
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 # not picked up by rpm deptracker
 Requires:       perl(HTML::TreeBuilder::XPath) >= 0.14
@@ -52,6 +57,10 @@ HTML::TreeBuilder::LibXML is drop-in-replacement for HTML::TreeBuilder::XPath.
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jul  9 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.23-2
+- perl-Web-Scraper requires HTML::TreeBuilder::LibXML so don't pull
+  in this optional test requirement when bootstrapping (#982293)
+
 * Sun May 19 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.23-1
 - Update to 0.23
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux