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
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:67f54a37778babfe0c0ef21e34f04c152d49729220b38ed300fe8a8d7d1827b4
|
||||
size 47075
|
||||
3
JSON-PP-4.00.tar.gz
Normal file
3
JSON-PP-4.00.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bef48e49425398d4cfcef769dc3bfd780897b4c097b6502c19b7b0c83a360f3c
|
||||
size 51856
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 7 06:09:32 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 4.00
|
||||
see /usr/share/doc/packages/perl-JSON-PP/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 22 06:31:29 UTC 2017 - coolo@suse.com
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user