Hello community,

here is the log from the commit of package perl-Cpanel-JSON-XS for 
openSUSE:Factory checked in at 2017-02-16 17:03:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Cpanel-JSON-XS (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Cpanel-JSON-XS.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Cpanel-JSON-XS"

Changes:
--------
Binary files 
/work/SRC/openSUSE:Factory/perl-Cpanel-JSON-XS/perl-Cpanel-JSON-XS.changes and 
/work/SRC/openSUSE:Factory/.perl-Cpanel-JSON-XS.new/perl-Cpanel-JSON-XS.changes 
differ

Old:
----
  Cpanel-JSON-XS-3.0225.tar.gz

New:
----
  Cpanel-JSON-XS-3.0226.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Cpanel-JSON-XS.spec ++++++
--- /var/tmp/diff_new_pack.1ISt81/_old  2017-02-16 17:03:43.879050197 +0100
+++ /var/tmp/diff_new_pack.1ISt81/_new  2017-02-16 17:03:43.883049631 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Cpanel-JSON-XS
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,14 +17,14 @@
 
 
 Name:           perl-Cpanel-JSON-XS
-Version:        3.0225
+Version:        3.0226
 Release:        0
 %define cpan_name Cpanel-JSON-XS
 Summary:        Cpanel Fork of Json::Xs, Fast and Correct Serializing
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Cpanel-JSON-XS/
-Source0:        
http://www.cpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -65,6 +65,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes COPYING README
+%doc Changes README
+%license COPYING
 
 %changelog

++++++ Cpanel-JSON-XS-3.0225.tar.gz -> Cpanel-JSON-XS-3.0226.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-3.0225/Changes 
new/Cpanel-JSON-XS-3.0226/Changes
--- old/Cpanel-JSON-XS-3.0225/Changes   2016-11-23 19:30:10.000000000 +0100
+++ new/Cpanel-JSON-XS-3.0226/Changes   2017-02-11 14:23:05.000000000 +0100
@@ -2,6 +2,11 @@
 
 TODO: http://stevehanov.ca/blog/index.php?id=104 compression
 
+3.0226 2017-02-11 (rurban)
+        - relax longdouble Gconvert test on ppc64le and aarch64-linux-ld,
+        with apparent HW quadmath without USE_QUADMATH (older perls).
+        (detected by dgolden)
+
 3.0225 2016-11-23 (rurban)
         - decode utf8 security fixes for perl 5.6.
           added extra detection code for overflows and non-continuations.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-3.0225/META.json 
new/Cpanel-JSON-XS-3.0226/META.json
--- old/Cpanel-JSON-XS-3.0225/META.json 2016-11-23 19:37:26.000000000 +0100
+++ new/Cpanel-JSON-XS-3.0226/META.json 2017-02-11 14:23:28.000000000 +0100
@@ -4,7 +4,7 @@
       "Reini Urban <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 8.0403, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -49,6 +49,6 @@
          "url" : "https://github.com/rurban/Cpanel-JSON-XS";
       }
    },
-   "version" : "3.0225",
-   "x_serialization_backend" : "JSON::PP version 2.27400"
+   "version" : "3.0226",
+   "x_serialization_backend" : "JSON::PP version 2.27300_01"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-3.0225/META.yml 
new/Cpanel-JSON-XS-3.0226/META.yml
--- old/Cpanel-JSON-XS-3.0225/META.yml  2016-11-23 19:37:26.000000000 +0100
+++ new/Cpanel-JSON-XS-3.0226/META.yml  2017-02-11 14:23:28.000000000 +0100
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 8.0403, CPAN::Meta::Converter 
version 2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,5 +24,5 @@
   homepage: http://software.schmorp.de/pkg/JSON-XS.html
   license: http://dev.perl.org/licenses/
   repository: https://github.com/rurban/Cpanel-JSON-XS
-version: '3.0225'
+version: '3.0226'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-3.0225/SIGNATURE 
new/Cpanel-JSON-XS-3.0226/SIGNATURE
--- old/Cpanel-JSON-XS-3.0225/SIGNATURE 2016-11-23 19:37:28.000000000 +0100
+++ new/Cpanel-JSON-XS-3.0226/SIGNATURE 2017-02-11 14:23:32.000000000 +0100
@@ -16,14 +16,14 @@
 
 SHA1 7473e2b9cd191810a0531dcd0bed55a153acc497 .travis.yml
 SHA1 9a56f3b919dfc8fced3803e165a2e38de62646e5 COPYING
-SHA1 0eca63583004e23c85152568093cffc27d32fc6a Changes
+SHA1 e98436c286eb20f511fc2709e87315b1d2c7a389 Changes
 SHA1 7ebf5876b2d33d6ddcfd69e2541394c63537fcfd MANIFEST
-SHA1 c3b7f25a966e88510f9724acb1947d57175c2331 META.json
-SHA1 df66f431b2870bd559872ce6dbb12081fd50a1d7 META.yml
+SHA1 8661e1a8b6e3c9163e214d2a9b877897d4d4f095 META.json
+SHA1 4632ecec30eef7f5efad1129719a20393be4f243 META.yml
 SHA1 326673d83f68b486d22267c540f457f55cd91c76 Makefile.PL
 SHA1 c14d9febccd6bdcb718cae6a307b9c7a0cb4dfea README
-SHA1 533e03d4469a48de286155ecd1dab2fe5dde0d77 XS.pm
-SHA1 72a97b626375f9dc02a022d5687bb2d7de238880 XS.xs
+SHA1 97ed6d927bab64972ff0732acb479ce36d92870a XS.pm
+SHA1 fb6b38d7290d6850df663b6fa58e306cab5cea0f XS.xs
 SHA1 27b0bc7e0cd6fe90876fb3d285065c6a07cca028 XS/Boolean.pm
 SHA1 9e4b04d1af085e6959aaed51734475d350136392 bin/cpanel_json_xs
 SHA1 ea72bbe602baaabdd0004ef1d7e7cc3334b42bb4 eg/bench
@@ -53,7 +53,7 @@
 SHA1 eb050780996f1e428c87bf6375415ca4c863cbb2 t/115_tie_ixhash.t
 SHA1 3477b0490b8666e451ac15df97f9f35d72c946b1 t/116_incr_parse_fixed.t
 SHA1 563cf24c85f22a077a9c20a0dfee1052db289b66 t/117_numbers.t
-SHA1 85b8ecea1edf2bb92ecc2e1199e0a499a6bb07d2 t/11_pc_expo.t
+SHA1 d1003d09b5da3609977362bcda64b2c593039a6b t/11_pc_expo.t
 SHA1 c0037e62cefc891df4bb84a110051963a60e9f8c t/12_blessed.t
 SHA1 4d553fd6b5e4486f087babff2946e0cb4b2c38fb t/13_limit.t
 SHA1 2b843abe875bf080d0c949663e32105a13c38122 t/14_latin1.t
@@ -430,7 +430,7 @@
 SHA1 e93c9b53438be114c25aa426742e24f4343057a7 typemap
 -----BEGIN PGP SIGNATURE-----
 
-iEUEARECAAYFAlg14eYACgkQmm2SYo/9yUIi3QCYieGKtBzH0GSR0h4OXSSP1c3s
-+ACeOJJKpuCzdkrscHxFj9eBs7Pyg/8=
-=v46H
+iF0EARECAB0WIQRZHhhUcL58V8z0UW2abZJij/3JQgUCWJ8QUQAKCRCabZJij/3J
+QnDZAJ9BAp0fJAFNSqsxl7D9P5n84tibJACdFteZmttuiWfmBjVxmIk4pwr2KO4=
+=WQmM
 -----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-3.0225/XS.pm 
new/Cpanel-JSON-XS-3.0226/XS.pm
--- old/Cpanel-JSON-XS-3.0225/XS.pm     2016-11-23 19:25:00.000000000 +0100
+++ new/Cpanel-JSON-XS-3.0226/XS.pm     2017-02-11 14:23:05.000000000 +0100
@@ -1,5 +1,5 @@
 package Cpanel::JSON::XS;
-our $VERSION = '3.0225';
+our $VERSION = '3.0226';
 our $XS_VERSION = $VERSION;
 $VERSION = eval $VERSION;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-3.0225/XS.xs 
new/Cpanel-JSON-XS-3.0226/XS.xs
--- old/Cpanel-JSON-XS-3.0225/XS.xs     2016-11-23 19:22:32.000000000 +0100
+++ new/Cpanel-JSON-XS-3.0226/XS.xs     2017-01-21 15:42:57.000000000 +0100
@@ -3074,7 +3074,7 @@
   SV *sv;
   STRLEN len, offset = 0;
   int converted = 0;
-  dMY_CXT;
+  /*dMY_CXT;*/
 
   /* work around bugs in 5.10 where manipulating magic values
    * makes perl ignore the magic in subsequent accesses.
@@ -3406,8 +3406,8 @@
 
 #ifdef USE_ITHREADS
 
-void CLONE (...)
-       CODE:
+void CLONE ()
+    PPCODE:
 {
         MY_CXT_CLONE; /* possible declaration */
         init_MY_CXT(aTHX_ &MY_CXT);
@@ -3416,18 +3416,18 @@
 
 #endif
 
-void END(...)
-       PREINIT:
+void END()
+    PREINIT:
         dMY_CXT;
         SV * sv;
-       PPCODE:
+    PPCODE:
         sv = MY_CXT.sv_json;
         MY_CXT.sv_json = NULL;
         SvREFCNT_dec_NN(sv);
         return; /* skip implicit PUTBACK, returning @_ to caller, more 
efficient*/
 
 void new (char *klass)
-       PPCODE:
+    PPCODE:
 {
         dMY_CXT;
        SV *pv = NEWSV (0, sizeof (JSON));
@@ -3440,7 +3440,7 @@
 }
 
 void ascii (JSON *self, int enable = 1)
-       ALIAS:
+    ALIAS:
         ascii           = F_ASCII
         latin1          = F_LATIN1
         binary          = F_BINARY
@@ -3462,18 +3462,15 @@
         allow_bignum    = F_ALLOW_BIGNUM
         escape_slash    = F_ESCAPE_SLASH
         allow_stringify = F_ALLOW_STRINGIFY
-       PPCODE:
-{
+    PPCODE:
         if (enable)
           self->flags |=  ix;
         else
           self->flags &= ~ix;
-
         XPUSHs (ST (0));
-}
 
 void get_ascii (JSON *self)
-       ALIAS:
+    ALIAS:
         get_ascii           = F_ASCII
         get_latin1          = F_LATIN1
         get_binary          = F_BINARY
@@ -3494,33 +3491,33 @@
         get_allow_bignum    = F_ALLOW_BIGNUM
         get_escape_slash    = F_ESCAPE_SLASH
         get_allow_stringify  = F_ALLOW_STRINGIFY
-       PPCODE:
+    PPCODE:
         XPUSHs (boolSV (self->flags & ix));
 
 void max_depth (JSON *self, U32 max_depth = 0x80000000UL)
-       PPCODE:
+    PPCODE:
         self->max_depth = max_depth;
         XPUSHs (ST (0));
 
 U32 get_max_depth (JSON *self)
-       CODE:
+    CODE:
         RETVAL = self->max_depth;
-       OUTPUT:
+    OUTPUT:
         RETVAL
 
 void max_size (JSON *self, U32 max_size = 0)
-       PPCODE:
+    PPCODE:
         self->max_size = max_size;
         XPUSHs (ST (0));
 
 int get_max_size (JSON *self)
-       CODE:
+    CODE:
         RETVAL = self->max_size;
-       OUTPUT:
+    OUTPUT:
         RETVAL
 
 void stringify_infnan (JSON *self, IV infnan_mode = 1)
-       PPCODE:
+    PPCODE:
         if (infnan_mode > 3 || infnan_mode < 0) {
           croak ("invalid stringify_infnan mode %d. Must be 0, 1, 2 or 3", 
(int)infnan_mode);
         }
@@ -3528,13 +3525,13 @@
         XPUSHs (ST (0));
         
 int get_stringify_infnan (JSON *self)
-       CODE:
+    CODE:
         RETVAL = (int)self->infnan_mode;
-       OUTPUT:
+    OUTPUT:
         RETVAL
 
 void sort_by (JSON *self, SV* cb = &PL_sv_yes)
-       PPCODE:
+    PPCODE:
 {
         SvREFCNT_dec (self->cb_sort_by);
         self->cb_sort_by = SvOK (cb) ? newSVsv (cb) : 0;
@@ -3546,7 +3543,7 @@
 
         
 void filter_json_object (JSON *self, SV *cb = &PL_sv_undef)
-       PPCODE:
+    PPCODE:
 {
         SvREFCNT_dec (self->cb_object);
         self->cb_object = SvOK (cb) ? newSVsv (cb) : 0;
@@ -3555,7 +3552,7 @@
 }
 
 void filter_json_single_key_object (JSON *self, SV *key, SV *cb = &PL_sv_undef)
-       PPCODE:
+    PPCODE:
 {
        if (!self->cb_sk_object)
           self->cb_sk_object = newHV ();
@@ -3577,17 +3574,17 @@
 }
 
 void encode (JSON *self, SV *scalar)
-       PPCODE:
+    PPCODE:
         PUTBACK; scalar = encode_json (aTHX_ scalar, self); SPAGAIN;
         XPUSHs (scalar);
 
 void decode (JSON *self, SV *jsonstr)
-       PPCODE:
+    PPCODE:
         PUTBACK; jsonstr = decode_json (aTHX_ jsonstr, self, 0); SPAGAIN;
         XPUSHs (jsonstr);
 
 void decode_prefix (JSON *self, SV *jsonstr)
-       PPCODE:
+    PPCODE:
 {
        SV *sv;
         U8 *offset;
@@ -3598,7 +3595,7 @@
 }
 
 void incr_parse (JSON *self, SV *jsonstr = 0)
-       PPCODE:
+    PPCODE:
 {
        if (!self->incr_text)
           self->incr_text = newSVpvn ("", 0);
@@ -3694,21 +3691,21 @@
 #if PERL_VERSION > 6
 
 SV *incr_text (JSON *self)
-        ATTRS: lvalue
-       CODE:
+    ATTRS: lvalue
+    CODE:
 {
         if (UNLIKELY(self->incr_pos))
           croak ("incr_text can not be called when the incremental parser 
already started parsing");
 
         RETVAL = self->incr_text ? SvREFCNT_inc (self->incr_text) : 
&PL_sv_undef;
 }
-       OUTPUT:
+    OUTPUT:
         RETVAL
 
 #else
 
 SV *incr_text (JSON *self)
-       CODE:
+    CODE:
 {
         if (UNLIKELY(self->incr_pos))
           croak ("incr_text can not be called when the incremental parser 
already started parsing");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Cpanel-JSON-XS-3.0225/t/11_pc_expo.t 
new/Cpanel-JSON-XS-3.0226/t/11_pc_expo.t
--- old/Cpanel-JSON-XS-3.0225/t/11_pc_expo.t    2016-06-02 17:57:10.000000000 
+0200
+++ new/Cpanel-JSON-XS-3.0226/t/11_pc_expo.t    2017-02-11 14:23:05.000000000 
+0100
@@ -38,6 +38,9 @@
 $js = $pc->encode($obj);
 if ($Config::Config{usequadmath}) {
    is($js,'[1010000000000000000000000000000.0]', 'digit 
1010000000000000000000000000000.0 (quadmath)');
+} elsif ($Config::Config{uselongdouble} && $Config::Config{ptrsize} > 4) {
+   like($js, qr/^\[(1010000000000000000000000000000\.0|1.01[Ee]\+0?30)\]/,
+      'digit (64bit ld)'); # esp. non-intel
 } else {
    like($js,qr/\[1.01[Ee]\+0?30\]/, 'digit 1.01e+30');
 }


Reply via email to