diff options
author | Hyunjee Kim <hj0426.kim@samsung.com> | 2020-03-17 10:37:32 +0900 |
---|---|---|
committer | Hyunjee Kim <hj0426.kim@samsung.com> | 2020-03-17 10:37:48 +0900 |
commit | bc7b81908863ea8d9480a8f650270d4ab30ab6b2 (patch) | |
tree | e0aaee43342c797b8666a59e7060c6f2d06c0598 | |
parent | 8d2a41273a56a33a291d292c1fbee03cce290694 (diff) | |
download | perl-json-bc7b81908863ea8d9480a8f650270d4ab30ab6b2.tar.gz perl-json-bc7b81908863ea8d9480a8f650270d4ab30ab6b2.tar.bz2 perl-json-bc7b81908863ea8d9480a8f650270d4ab30ab6b2.zip |
Bump to perl-json 4.02tizen_6.5.m2_releasetizen_6.0.m2_releasesubmit/tizen_base/20200317.014053submit/tizen_6.5_base/20211028.134301submit/tizen_6.0_base_hotfix/20201102.162701submit/tizen_6.0_base_hotfix/20201030.192501submit/tizen_6.0_base/20201029.184801accepted/tizen/base/20200317.040543accepted/tizen/6.5/base/20211028.055934accepted/tizen/6.0/base/hotfix/20201102.093444accepted/tizen/6.0/base/20201029.111314tizen_6.5_basetizen_6.0_base_hotfixtizen_6.0_basebackup/perl-json-4.02-20220721accepted/tizen_6.5_baseaccepted/tizen_6.0_base_hotfixaccepted/tizen_6.0_base
Change-Id: Id5137468ca37d6de344e909be948bbc317dac503
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
-rw-r--r-- | packaging/perl-json.manifest | 5 | ||||
-rw-r--r-- | packaging/perl-json.spec | 47 |
2 files changed, 52 insertions, 0 deletions
diff --git a/packaging/perl-json.manifest b/packaging/perl-json.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/perl-json.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/perl-json.spec b/packaging/perl-json.spec new file mode 100644 index 0000000..cc57164 --- /dev/null +++ b/packaging/perl-json.spec @@ -0,0 +1,47 @@ +Name: perl-json +Version: 4.02 +Release: 1 +Summary: JSON (JavaScript Object Notation) encoder/decoder +License: perl_5 +Group: Development/Tools +URL: http://ltp.sourceforge.net/coverage/lcov.php +Source0: http://downloads.sourceforge.net/ltp/lcov-%{version}.tar.gz +BuildRoot: /var/tmp/%{name}-%{version}-root +Requires: perl >= 5.8.8 + +%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 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 +you use only common features (most important ones are described below), +migration from backend to backend should be reasonably easy. For details, +see each backend module you use. + +%prep +%setup -q -n %{name}-%{version} + +%build +perl Makefile.PL +make + +%install +rm -rf $RPM_BUILD_ROOT +%perl_make_install +%remove_docs +%perl_process_packlist +%perl_gen_filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.files +%defattr(-,root,root) |