commit e23a2bfb0cd88499955303e206090da147f6c521 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Fri Jun 24 16:21:54 2011 +0200 update filtering for perl-5.12 macros perl-HTML-TreeBuilder-XPath.spec | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-) --- diff --git a/perl-HTML-TreeBuilder-XPath.spec b/perl-HTML-TreeBuilder-XPath.spec index 96ab0e0..e46c0b0 100644 --- a/perl-HTML-TreeBuilder-XPath.spec +++ b/perl-HTML-TreeBuilder-XPath.spec @@ -1,6 +1,6 @@ Name: perl-HTML-TreeBuilder-XPath Version: 0.12 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Add XPath support to HTML::TreeBuilder License: GPL+ or Artistic Group: Development/Libraries @@ -17,6 +17,11 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi # not automatically detected Requires: perl(HTML::TreeBuilder) +%{?perl_default_filter: +%filter_from_provides /^perl(HTML::Element)/d +%perl_default_filter +} + %description This module adds typical XPath methods to HTML::TreeBuilder, to make it easy to query a document. @@ -24,16 +29,6 @@ easy to query a document. %prep %setup -q -n HTML-TreeBuilder-XPath-%{version} -cat << \EOF > %{name}-prov -#!/bin/sh -%{__perl_provides} $* |\ -sed -e '/perl(HTML::Element)/d' -EOF - -%global __perl_provides %{_builddir}/HTML-TreeBuilder-XPath-%{version}/%{name}-prov -chmod +x %{__perl_provides} - - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -50,12 +45,14 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; make test %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Fri Jun 24 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.12-4 +- update filtering for perl-5.12 macros + * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.12-3 - Perl mass rebuild -- 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