From 5ba65331b013ad9e4092f61171877663c9d48045695cde65e227218b6968c2b6 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Mon, 10 Dec 2018 09:20:57 +0000 Subject: [PATCH] Accepting request 655964 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/655964 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON?expand=0&rev=43 --- JSON-2.97001.tar.gz | 3 --- JSON-4.00.tar.gz | 3 +++ perl-JSON.changes | 19 +++++++++++++++++++ perl-JSON.spec | 31 +++++++++++++++---------------- 4 files changed, 37 insertions(+), 19 deletions(-) delete mode 100644 JSON-2.97001.tar.gz create mode 100644 JSON-4.00.tar.gz diff --git a/JSON-2.97001.tar.gz b/JSON-2.97001.tar.gz deleted file mode 100644 index c2e5831..0000000 --- a/JSON-2.97001.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e277d9385633574923f48c297e1b8acad3170c69fa590e31fa466040fc6f8f5a -size 82790 diff --git a/JSON-4.00.tar.gz b/JSON-4.00.tar.gz new file mode 100644 index 0000000..170bda7 --- /dev/null +++ b/JSON-4.00.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4da1f1075878604b7b1f085ff3963e1073ed1c603c3bc9f0b0591e3831a1068 +size 90081 diff --git a/perl-JSON.changes b/perl-JSON.changes index 4a443b3..95511d8 100644 --- a/perl-JSON.changes +++ b/perl-JSON.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Dec 7 06:09:14 UTC 2018 - Stephan Kulow + +- updated to 4.00 + see /usr/share/doc/packages/perl-JSON/Changes + + 4.00 2018-12-07 + - production release + + 3.99_01 2018-12-03 + - 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 3.99_01 + - allow PERL_JSON_PP_USE_B environmental variable to restore + old number detection behavior for compatibility + ------------------------------------------------------------------- Fri Dec 22 06:31:11 UTC 2017 - coolo@suse.com diff --git a/perl-JSON.spec b/perl-JSON.spec index 2a1ec8d..0f1196d 100644 --- a/perl-JSON.spec +++ b/perl-JSON.spec @@ -1,7 +1,7 @@ # # spec file for package perl-JSON # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,18 +12,18 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-JSON -Version: 2.97001 +Version: 4.00 Release: 0 %define cpan_name JSON Summary: JSON (JavaScript Object Notation) encoder/decoder -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/JSON/ +Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch @@ -36,14 +36,13 @@ Recommends: perl(JSON::XS) >= 2.34 %description This module is a thin wrapper for JSON::XS-compatible modules with a few additional features. All the backend modules convert a Perl data structure -to a JSON text as of RFC4627 (which we know is obsolete but we still stick -to; see below for an option to support part of RFC7159) and vice versa. -This module uses JSON::XS by default, and when JSON::XS is not available, -this module falls back on JSON::PP, which is in the Perl core since 5.14. -If JSON::PP is not available either, this module then falls back on -JSON::backportPP (which is actually JSON::PP in a different .pm file) -bundled in the same distribution as this module. You can also explicitly -specify to use Cpanel::JSON::XS, a fork of JSON::XS by Reini Urban. +to a JSON text and vice versa. This module uses JSON::XS by default, and +when JSON::XS is not available, falls back on JSON::PP, which is in the +Perl core since 5.14. If JSON::PP is not available either, this module then +falls back on JSON::backportPP (which is actually JSON::PP in a different +.pm file) bundled in the same distribution as this module. You can also +explicitly specify to use Cpanel::JSON::XS, a fork of JSON::XS by Reini +Urban. All these backend modules have slight incompatibilities between them, including extra features that other modules don't support, but as long as @@ -55,11 +54,11 @@ see each backend module you use. %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install