Hello community,

here is the log from the commit of package perl-JSON-XS for openSUSE:Factory 
checked in at 2020-10-28 12:10:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old)
 and      /work/SRC/openSUSE:Factory/.perl-JSON-XS.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-JSON-XS"

Wed Oct 28 12:10:01 2020 rev:24 rq:844527 version:4.03

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes        
2019-03-10 09:33:03.316209942 +0100
+++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new.3463/perl-JSON-XS.changes      
2020-10-28 12:10:07.693424777 +0100
@@ -1,0 +2,8 @@
+Wed Oct 28 03:07:22 UTC 2020 - Tina Müller <timueller+p...@suse.de>
+
+- updated to 4.03
+   see /usr/share/doc/packages/perl-JSON-XS/Changes
+
+  TODO: replace bool_stash by BOOL_STASH seems to work with mod_perl, make a 
compile time option?
+
+-------------------------------------------------------------------

Old:
----
  JSON-XS-4.02.tar.gz

New:
----
  JSON-XS-4.03.tar.gz

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

Other differences:
------------------
++++++ perl-JSON-XS.spec ++++++
--- /var/tmp/diff_new_pack.TwBT6B/_old  2020-10-28 12:10:08.633425544 +0100
+++ /var/tmp/diff_new_pack.TwBT6B/_new  2020-10-28 12:10:08.633425544 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-JSON-XS
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,14 @@
 
 
 Name:           perl-JSON-XS
-Version:        4.02
+Version:        4.03
 Release:        0
 %define cpan_name JSON-XS
 Summary:        JSON serialising/deserialising, done correctly and fast
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            https://metacpan.org/release/%{cpan_name}
-#Source0:        
https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-4.01.tar.gz
-Source0:        JSON-XS-4.02.tar.gz
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -47,7 +46,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"

++++++ JSON-XS-4.02.tar.gz -> JSON-XS-4.03.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/JSON-XS-4.02/Changes new/JSON-XS-4.03/Changes
--- old/JSON-XS-4.02/Changes    2019-03-06 08:31:29.000000000 +0100
+++ new/JSON-XS-4.03/Changes    2020-10-27 19:05:18.000000000 +0100
@@ -5,10 +5,16 @@
 TODO: how to cope with tagged values and standard json decoders
 TODO: investigate magic (Eric Brine)
 TODO: [PATCH] Types::Serialiser: Inline true(), false() and error() functions
+TODO: replace bool_stash by BOOL_STASH seems to work with mod_perl, make a 
compile time option?
+
+4.03 Tue Oct 27 19:05:01 CET 2020
+       - when parsing comments in relaxed mode, JSON::XS would detect garbage
+          after the JSON text if the comment is after the end and does not end 
in
+          a newline (reported by Felipe Gasper).
 
 4.02 Wed Mar  6 08:31:24 CET 2019
        - undo the fix from 4.01, it breaks more things than it fixes
-          (another tetscase by Wesley Schwengle).
+          (another testcase by Wesley Schwengle).
         - try a proper fix this time.
 
 4.01 Sun Feb 24 05:03:30 CET 2019
@@ -17,7 +23,7 @@
 
 4.0  Fri Nov 16 00:06:54 CET 2018
        - SECURITY IMPLICATION: this release enables allow_nonref by default
-          for compatibnility with RFC 7159 and newer. See "old" vs. "new"
+          for compatibility with RFC 7159 and newer. See "old" vs. "new"
           JSON under SECURITY CONSIDERATIONS.
         - reworked the "old" vs. "new" JSON section.
         - add ->boolean_values to provide the values to which booleans
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/JSON-XS-4.02/META.json new/JSON-XS-4.03/META.json
--- old/JSON-XS-4.02/META.json  2019-03-06 08:31:55.000000000 +0100
+++ new/JSON-XS-4.03/META.json  2020-10-27 19:05:48.000000000 +0100
@@ -4,7 +4,7 @@
       "unknown"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter 
version 2.150001",
    "license" : [
       "unknown"
    ],
@@ -39,6 +39,5 @@
       }
    },
    "release_status" : "stable",
-   "version" : "4.02",
-   "x_serialization_backend" : "JSON::PP version 2.27300"
+   "version" : "4.03"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/JSON-XS-4.02/META.yml new/JSON-XS-4.03/META.yml
--- old/JSON-XS-4.02/META.yml   2019-03-06 08:31:55.000000000 +0100
+++ new/JSON-XS-4.03/META.yml   2020-10-27 19:05:48.000000000 +0100
@@ -8,7 +8,7 @@
   Canary::Stability: '0'
   ExtUtils::MakeMaker: '6.52'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 
2.150001'
 license: unknown
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,5 +21,4 @@
 requires:
   Types::Serialiser: '0'
   common::sense: '0'
-version: '4.02'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
+version: '4.03'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/JSON-XS-4.02/XS.pm new/JSON-XS-4.03/XS.pm
--- old/JSON-XS-4.02/XS.pm      2019-03-06 08:31:38.000000000 +0100
+++ new/JSON-XS-4.03/XS.pm      2020-10-27 19:05:46.000000000 +0100
@@ -89,7 +89,7 @@
 
 use common::sense;
 
-our $VERSION = '4.02';
+our $VERSION = '4.03';
 our @ISA = qw(Exporter);
 
 our @EXPORT = qw(encode_json decode_json);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/JSON-XS-4.02/XS.xs new/JSON-XS-4.03/XS.xs
--- old/JSON-XS-4.02/XS.xs      2019-03-06 08:29:47.000000000 +0100
+++ new/JSON-XS-4.03/XS.xs      2020-10-27 19:03:21.000000000 +0100
@@ -164,7 +164,7 @@
 }
 
 /* adds two STRLENs together, slow, and with paranoia */
-STRLEN
+static STRLEN
 strlen_sum (STRLEN l1, STRLEN l2)
 {
   size_t sum = l1 + l2;
@@ -1040,8 +1040,8 @@
         }
       else if (ch != 0x20 && ch != 0x0a && ch != 0x0d && ch != 0x09)
         break; // parse error, but let higher level handle it, gives better 
error messages
-
-      ++dec->cur;
+      else
+        ++dec->cur;
     }
 }
 


Reply via email to