From d862d8162322f0a7b564d72d1b9d2d96854f70ef64ed54812e02a8d2198e1e06 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 11 Dec 2018 12:13:39 +0000 Subject: [PATCH] Accepting request 655963 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/655963 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-PP?expand=0&rev=19 --- JSON-PP-2.97001.tar.gz | 3 --- JSON-PP-4.00.tar.gz | 3 +++ perl-JSON-PP.changes | 6 ++++++ perl-JSON-PP.spec | 34 ++++++++++++++++------------------ 4 files changed, 25 insertions(+), 21 deletions(-) delete mode 100644 JSON-PP-2.97001.tar.gz create mode 100644 JSON-PP-4.00.tar.gz diff --git a/JSON-PP-2.97001.tar.gz b/JSON-PP-2.97001.tar.gz deleted file mode 100644 index ec70185..0000000 --- a/JSON-PP-2.97001.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:67f54a37778babfe0c0ef21e34f04c152d49729220b38ed300fe8a8d7d1827b4 -size 47075 diff --git a/JSON-PP-4.00.tar.gz b/JSON-PP-4.00.tar.gz new file mode 100644 index 0000000..5591309 --- /dev/null +++ b/JSON-PP-4.00.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bef48e49425398d4cfcef769dc3bfd780897b4c097b6502c19b7b0c83a360f3c +size 51856 diff --git a/perl-JSON-PP.changes b/perl-JSON-PP.changes index 68a4e9c..422426a 100644 --- a/perl-JSON-PP.changes +++ b/perl-JSON-PP.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 7 06:09:32 UTC 2018 - Stephan Kulow + +- updated to 4.00 + see /usr/share/doc/packages/perl-JSON-PP/Changes + ------------------------------------------------------------------- Fri Dec 22 06:31:29 UTC 2017 - coolo@suse.com diff --git a/perl-JSON-PP.spec b/perl-JSON-PP.spec index 30b6540..adc0b5a 100644 --- a/perl-JSON-PP.spec +++ b/perl-JSON-PP.spec @@ -1,7 +1,7 @@ # # spec file for package perl-JSON-PP # -# 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-PP -Version: 2.97001 +Version: 4.00 Release: 0 %define cpan_name JSON-PP Summary: JSON::XS compatible pure-Perl module -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-PP/ +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 @@ -40,19 +40,17 @@ Provides: perl(JSON::PP) = %{version}000 # MANUAL END %description -JSON::PP is a pure perl JSON decoder/encoder (as of RFC4627, which we know -is obsolete but we still stick to; see below for an option to support part -of RFC7159), and (almost) compatible to much faster JSON::XS written by -Marc Lehmann in C. JSON::PP works as a fallback module when you use JSON -module without having installed JSON::XS. +JSON::PP is a pure perl JSON decoder/encoder, and (almost) compatible to +much faster JSON::XS written by Marc Lehmann in C. JSON::PP works as a +fallback module when you use JSON module without having installed JSON::XS. Because of this fallback feature of JSON.pm, JSON::PP tries not to be more JavaScript-friendly than JSON::XS (i.e. not to escape extra characters such -as U+2028 and U+2029 nor support RFC7159/ECMA-404), in order for you not to -lose such JavaScript-friendliness silently when you use JSON.pm and install -JSON::XS for speed or by accident. If you need JavaScript-friendly -RFC7159-compliant pure perl module, try JSON::Tiny, which is derived from -Mojolicious web framework and is also smaller and faster than JSON::PP. +as U+2028 and U+2029, etc), in order for you not to lose such +JavaScript-friendliness silently when you use JSON.pm and install JSON::XS +for speed or by accident. If you need JavaScript-friendly RFC7159-compliant +pure perl module, try JSON::Tiny, which is derived from Mojolicious web +framework and is also smaller and faster than JSON::PP. JSON::PP has been in the Perl core since Perl 5.14, mainly for CPAN toolchain modules to parse META.json. @@ -61,11 +59,11 @@ toolchain modules to parse META.json. %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