From de6f5b749fe79785f3b2ebd41e8bf1c021144943 Mon Sep 17 00:00:00 2001 From: Iain Arnell Date: Wed, 20 Jul 2011 05:29:47 +0200 Subject: [PATCH] update filtering for rpm 4.9 --- perl-JSON.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/perl-JSON.spec b/perl-JSON.spec index c30b284..4ffb5eb 100644 --- a/perl-JSON.spec +++ b/perl-JSON.spec @@ -1,7 +1,7 @@ Name: perl-JSON Summary: Parse and convert to JSON (JavaScript Object Notation) Version: 2.53 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-%{version}.tar.gz @@ -18,9 +18,13 @@ BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) -%{?filter_from_provides: %filter_from_provides /^perl(JSON::\(Backend::PP\|backportPP::Boolean\|Boolean\|PP\|PP::IncrParser\))/d } -%{?filter_from_requires: %filter_from_requires /^perl(JSON::backportPP)$/d } -%{?perl_default_filter} +%{?perl_default_filter: +%filter_from_provides /^perl(JSON::\(Backend::PP\|backportPP::Boolean\|Boolean\|PP\|PP::IncrParser\))/d +%filter_from_requires /^perl(JSON::backportPP)$/d +%perl_default_filter} +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(JSON::(Backend::PP|backportPP::Boolean|Boolean|PP|PP::IncrParser)\\) +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(JSON::backportPP\\) + %{?perl_default_subpackage_tests} %description @@ -57,6 +61,9 @@ make test %{_mandir}/man3/* %changelog +* Wed Jul 20 2011 Iain Arnell 2.53-3 +- update filtering macros for rpm 4.9 + * Wed Jul 20 2011 Petr Sabata - 2.53-2 - Perl mass rebuild