commit bc6aa5c98a68a00da23361977be145ced4d624b1 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sat Oct 22 13:56:08 2011 +0200 require HTML::TreeBuilder on older releases rpm < 4.9 doesn't automatically detect dependencies due to 'use base' resolves RHBZ#748140 perl-HTML-TreeBuilder-XPath.spec | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) --- diff --git a/perl-HTML-TreeBuilder-XPath.spec b/perl-HTML-TreeBuilder-XPath.spec index 1c26f00..e104fab 100644 --- a/perl-HTML-TreeBuilder-XPath.spec +++ b/perl-HTML-TreeBuilder-XPath.spec @@ -1,6 +1,6 @@ Name: perl-HTML-TreeBuilder-XPath Version: 0.14 -Release: 2%{?dist} +Release: 2%{?dist}.1 Summary: Add XPath support to HTML::TreeBuilder License: GPL+ or Artistic Group: Development/Libraries @@ -15,6 +15,11 @@ BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(XML::XPathEngine) >= 0.12 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%if 0%{?fedora} < 15 +# not automatically detected by rpm < 4.9 +Requires: perl(HTML::TreeBuilder) +%endif + %{?filter_setup: %filter_from_provides /perl(HTML::Element)/d %?perl_default_filter} @@ -48,6 +53,9 @@ make test %{_mandir}/man3/* %changelog +* Sat Oct 22 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.14-2.1 +- explicitly require HTML::TreeBuilder on older releases (RHBZ#748140) + * Fri Sep 23 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.14-2 - update filtering for compatibility with older filter_setup macros -- 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