[perl-JSON] update filtering for rpm 4.9
Iain Arnell
iarnell at fedoraproject.org
Wed Jul 20 03:35:41 UTC 2011
commit de6f5b749fe79785f3b2ebd41e8bf1c021144943
Author: Iain Arnell <iarnell at gmail.com>
Date: Wed Jul 20 05:29:47 2011 +0200
update filtering for rpm 4.9
perl-JSON.spec | 15 +++++++++++----
1 files 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 <iarnell at gmail.com> 2.53-3
+- update filtering macros for rpm 4.9
+
* Wed Jul 20 2011 Petr Sabata <contyk at redhat.com> - 2.53-2
- Perl mass rebuild
More information about the scm-commits
mailing list