update filtering for rpm 4.9
This commit is contained in:
parent
d39c858974
commit
de6f5b749f
@ -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@gmail.com> 2.53-3
|
||||
- update filtering macros for rpm 4.9
|
||||
|
||||
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 2.53-2
|
||||
- Perl mass rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user