From 41890b8081ca66f06ebf24ca965a664274fcf397 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Fri, 7 Dec 2018 14:53:55 +0000 Subject: [PATCH] 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 --- perl-JSON.spec | 27 ++++++++++++++++++--------- sources | 2 +- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/perl-JSON.spec b/perl-JSON.spec index 3607761..484fb88 100644 --- a/perl-JSON.spec +++ b/perl-JSON.spec @@ -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 - 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 - 2.97.001-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 4ff1f8e..ecf106b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (JSON-2.97001.tar.gz) = 42fe08c1d7b8f689592a28c17dd7853a90c4236e64a9be175a635af005da48e06c436e80dac905893e2232ca8efee3832f6ad51992fd4ca851f8f0fd796860df +SHA512 (JSON-4.00.tar.gz) = 6190c8904652f93f360fb620c04e4f3bd7af8bb76fee44cbb1d9917362cfb1431743e05f855265a7fba18fa5040c3fe96887b10e04719b3b9bf64c36589d735e