Update to 4.00

- New upstream release 4.00
  - BACKWARD INCOMPATIBILITY: As JSON::XS 4.0 changed its policy and enabled
    allow_nonref by default, JSON::PP, and thus JSON, also enabled allow_nonref
    by default
  - Updated backportPP with JSON::PP 4.00
  - Allow PERL_JSON_PP_USE_B environmental variable to restore old number
    detection behavior for compatibility
- RPM version resynced with upstream
This commit is contained in:
Paul Howarth 2018-12-07 14:53:55 +00:00
parent 54da715b63
commit 41890b8081
2 changed files with 19 additions and 10 deletions

View File

@ -1,18 +1,17 @@
# Upstream has switched back to five-digit versions temporarily
%global rpm_version 2.97
%global temp_version_suffix 001
Name: perl-JSON
Summary: Parse and convert to JSON (JavaScript Object Notation)
Version: %{rpm_version}%{?temp_version_suffix:.%{temp_version_suffix}}
Release: 4%{?dist}
Version: 4.00
Release: 1%{?dist}
License: GPL+ or Artistic
Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/JSON-%{rpm_version}%{?temp_version_suffix}.tar.gz
URL: https://metacpan.org/release/JSON
Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-%{version}.tar.gz
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(base)
@ -27,11 +26,11 @@ BuildRequires: perl(Math::BigFloat)
BuildRequires: perl(Math::BigInt)
BuildRequires: perl(lib)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Tie::IxHash)
%{?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|backportPP::Boolean)\\)
@ -43,7 +42,7 @@ This module converts between JSON (JavaScript Object Notation) and Perl
data structure into each other. For JSON, see http://www.crockford.com/JSON/.
%prep
%setup -q -n JSON-%{rpm_version}%{?temp_version_suffix}
%setup -q -n JSON-%{version}
# make rpmlint happy...
find . -type f -exec chmod -c -x {} +
@ -68,6 +67,16 @@ make test
%{_mandir}/man3/*
%changelog
* Fri Dec 7 2018 Paul Howarth <paul@city-fan.org> - 4.00-1
- Update to 4.00
- BACKWARD INCOMPATIBILITY: As JSON::XS 4.0 changed its policy and enabled
allow_nonref by default, JSON::PP, and thus JSON, also enabled allow_nonref
by default
- Updated backportPP with JSON::PP 4.00
- Allow PERL_JSON_PP_USE_B environmental variable to restore old number
detection behavior for compatibility
- RPM version resynced with upstream
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.97.001-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (JSON-2.97001.tar.gz) = 42fe08c1d7b8f689592a28c17dd7853a90c4236e64a9be175a635af005da48e06c436e80dac905893e2232ca8efee3832f6ad51992fd4ca851f8f0fd796860df
SHA512 (JSON-4.00.tar.gz) = 6190c8904652f93f360fb620c04e4f3bd7af8bb76fee44cbb1d9917362cfb1431743e05f855265a7fba18fa5040c3fe96887b10e04719b3b9bf64c36589d735e