commit ccc1337e726ef2ffee8693a8e7966495158d34f3 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Tue Aug 21 18:21:50 2012 +0200 Use macro __provides_exclude for filtering of Provides XML-XQL-filter-provides.sh | 4 ---- perl-XML-XQL.spec | 13 ++++++------- 2 files changed, 6 insertions(+), 11 deletions(-) --- diff --git a/perl-XML-XQL.spec b/perl-XML-XQL.spec index 0434a52..f2e98d0 100644 --- a/perl-XML-XQL.spec +++ b/perl-XML-XQL.spec @@ -1,6 +1,6 @@ Name: perl-XML-XQL Version: 0.68 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Perl module for querying XML tree structures with XQL License: GPL+ or Artistic Group: Development/Libraries @@ -22,9 +22,7 @@ BuildRequires: perl(XML::RegExp) Requires: perl(XML::DOM) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Source99: XML-XQL-filter-provides.sh -%global real_perl_provides %{__perl_provides} -%define __perl_provides %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-provides +%global __provides_exclude ^perl\\(XML::\(DOM::.+\|XQL)\\)\\s*$ %description This is a Perl extension that allows you to perform XQL queries on XML @@ -35,9 +33,6 @@ other implementations, like XML::Grove, may soon follow. %setup -q -n XML-XQL-%{version} %patch0 -p0 -sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides} -chmod +x %{__perl_provides} - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -66,6 +61,10 @@ rm -rf $RPM_BUILD_ROOT %{__perl_provides} %{_mandir}/man3/XML::XQL*.3* %changelog +* Tue Aug 21 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.68-19 +- Use macro __provides_exclude for filtering of Provides instead of running + script. + * Fri Aug 17 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.68-18 - Specify all dependencies. -- 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