From 795f0cdcc2a46c3d70bb5672b28028355f50f73d Mon Sep 17 00:00:00 2001 From: dogsheng <960055655@qq.com> Date: Wed, 25 Dec 2019 16:02:24 +0800 Subject: [PATCH] Package init --- perl-JSON-PP.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/perl-JSON-PP.spec b/perl-JSON-PP.spec index a9a849e..6f4383b 100644 --- a/perl-JSON-PP.spec +++ b/perl-JSON-PP.spec @@ -1,8 +1,8 @@ Name: perl-JSON-PP Epoch: 1 Version: 4.04 -Release: 1 -Summary: JSON::XS compatible pure-Perl module. +Release: 2 +Summary: JSON::XS compatible pure-Perl module. License: GPL+ or Artistic URL: https://metacpan.org/release/JSON-PP Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/JSON-PP-%{version}.tar.gz @@ -10,16 +10,16 @@ BuildArch: noarch BuildRequires:perl-generators perl-interpreter perl(ExtUtils::MakeMaker) perl(Test::More) make -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Encode) Requires: perl(Data::Dumper) perl(Math::BigFloat) perl(Math::BigInt) perl(Scalar::Util) >= 1.08 perl(utf8) %description -JSON::PP is a pure perl JSON decoder/encoder, and (almost) compatible to much faster 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, 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 +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, 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. %package_help @@ -29,7 +29,7 @@ pure perl module, try JSON::Tiny, which is derived from Mojolicious web framewor %build -perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 +perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 %make_build %install @@ -58,5 +58,8 @@ make test %{_mandir}/*/* %changelog -* Tue Sep 10 2019 openEuler Buildteam - 1:4.04-1 +* Sat Dec 21 2019 openEuler Buildteam - 1:4.04-2 +- Add requires + +* Tue Sep 10 2019 openEuler Buildteam - 1:4.04-1 - Package init