put back the bootstrap dependency

This commit is contained in:
Emmanuel Seyman 2021-06-23 15:38:33 +02:00
parent 13fca0f326
commit db32d30bbb

View File

@ -1,6 +1,6 @@
Name: perl-HTML-TreeBuilder-LibXML
Version: 0.26
Release: 21%{?dist}
Release: 22%{?dist}
Summary: HTML::TreeBuilder and XPath compatible interface with libxml
License: GPL+ or Artistic
URL: https://metacpan.org/release/HTML-TreeBuilder-LibXML
@ -19,6 +19,12 @@ BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.98
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 "`/usr/bin/perl -V:version`"; echo $version))
# not picked up by rpm deptracker
Requires: perl(HTML::TreeBuilder::XPath) >= 0.14
@ -55,6 +61,9 @@ HTML::TreeBuilder::LibXML is drop-in-replacement for HTML::TreeBuilder::XPath.
%{_mandir}/man3/HTML*
%changelog
* Wed Jun 23 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 0.26-22
- Put back the build requirement on perl(Web::Scraper)
* Mon Jun 14 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 0.26-21
- Patch to handle empty strings with libxml2 2.9.12 (#1961070)
- Remove the build requirement on perl(Web::Scraper) for now