Filter private JSON::backportPP::Boolean

This is not provided by anything.

This commit also removes pre-4.9 RPM filters because they cannot be
used at the same time with current 4.9 RPM filters.
This commit is contained in:
Petr Písař 2017-05-23 09:49:37 +02:00
parent 4bbb25ee91
commit 267069341a

View File

@ -1,7 +1,7 @@
Name: perl-JSON
Summary: Parse and convert to JSON (JavaScript Object Notation)
Version: 2.93
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL+ or Artistic
Source0: http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/JSON-%{version}.tar.gz
@ -27,12 +27,9 @@ BuildRequires: perl(Test::Pod)
BuildRequires: perl(Tie::IxHash)
%{?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}
%{?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\\)
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(JSON::(backportPP|backportPP::Boolean)\\)
%{?perl_default_subpackage_tests}
@ -69,6 +66,9 @@ make test
%{_mandir}/man3/*
%changelog
* Tue May 23 2017 Petr Pisar <ppisar@redhat.com> - 2.93-2
- Filter private JSON::backportPP::Boolean
* Mon May 22 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 2.93-1
- Update to 2.93