update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON?expand=0&rev=29
This commit is contained in:
parent
57bb67b6d4
commit
bd26dba7d1
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:349b191b624474245648f4e8810463433ac8065cc7a44171634902ba113cda6d
|
||||
size 83997
|
3
JSON-2.90.tar.gz
Normal file
3
JSON-2.90.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4ddbb3cb985a79f69a34e7c26cde1c81120d03487e87366f9a119f90f7bdfe88
|
||||
size 85333
|
@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 07:28:28 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 2.90
|
||||
|
||||
CAUTION!!!
|
||||
INCOMPATIBLE CHANGE
|
||||
|
||||
JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean internally
|
||||
on loading time for making these modules inherit JSON::Boolean.
|
||||
But since JSON::XS v3.0 it use Types::Serialiser as boolean class.
|
||||
Then now JSON.pm breaks boolean classe overload features and
|
||||
-support_by_pp if JSON::XS v3.0 or later is installed.
|
||||
|
||||
JSON::true and JSON::false returned JSON::Boolean objects.
|
||||
For workaround, they return JSON::PP::Boolean objects in this version.
|
||||
|
||||
isa_ok(JSON::true, 'JSON::PP::Boolean');
|
||||
|
||||
And it discards a feature:
|
||||
|
||||
ok(JSON::true eq 'true');
|
||||
|
||||
In other word, JSON::PP::Boolean overload numeric only.
|
||||
|
||||
ok( JSON::true == 1 );
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 10 10:54:05 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: perl-JSON
|
||||
Version: 2.59
|
||||
Version: 2.90
|
||||
Release: 0
|
||||
%define cpan_name JSON
|
||||
Summary: JSON (JavaScript Object Notation) encoder/decoder
|
||||
@ -29,10 +29,41 @@ BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
#BuildRequires: perl(JSON)
|
||||
#BuildRequires: perl(JSON::backportPP)
|
||||
#BuildRequires: perl(JSON::PP)
|
||||
#BuildRequires: perl(JSON::XS)
|
||||
#BuildRequires: perl(Tie::IxHash)
|
||||
#BuildRequires: perl(_unicode_handling)
|
||||
Recommends: perl(JSON::XS) >= 2.34
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
*************************** CAUTION **************************************
|
||||
* *
|
||||
* INCOMPATIBLE CHANGE (JSON::XS version 2.90) *
|
||||
* *
|
||||
* JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean internally *
|
||||
* on loading time for making these modules inherit JSON::Boolean. *
|
||||
* But since JSON::XS v3.0 it use Types::Serialiser as boolean class. *
|
||||
* Then now JSON.pm breaks boolean classe overload features and *
|
||||
* -support_by_pp if JSON::XS v3.0 or later is installed. *
|
||||
* *
|
||||
* JSON::true and JSON::false returned JSON::Boolean objects. *
|
||||
* For workaround, they return JSON::PP::Boolean objects in this version. *
|
||||
* *
|
||||
* isa_ok(JSON::true, 'JSON::PP::Boolean'); *
|
||||
* *
|
||||
* And it discards a feature: *
|
||||
* *
|
||||
* ok(JSON::true eq 'true'); *
|
||||
* *
|
||||
* In other word, JSON::PP::Boolean overload numeric only. *
|
||||
* *
|
||||
* ok( JSON::true == 1 ); *
|
||||
* *
|
||||
**************************************************************************
|
||||
|
||||
************************** CAUTION ********************************
|
||||
* This is 'JSON module version 2' and there are many differences *
|
||||
* to version 1.xx *
|
||||
|
Loading…
x
Reference in New Issue
Block a user