diff --git a/JSON-Parse-0.39.tar.gz b/JSON-Parse-0.39.tar.gz deleted file mode 100644 index dc9ce31..0000000 --- a/JSON-Parse-0.39.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ca48d1887a846ed834cc985a4e29e3ccaccb5b2cb99e2595c5bd119ffd0be20 -size 63187 diff --git a/JSON-Parse-0.40.tar.gz b/JSON-Parse-0.40.tar.gz new file mode 100644 index 0000000..7832c14 --- /dev/null +++ b/JSON-Parse-0.40.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:314a3098d461b6405deef1554614e707591a3708a0a030c94ded061ff7a62622 +size 64047 diff --git a/perl-JSON-Parse.changes b/perl-JSON-Parse.changes index c3f6da6..ee97ca7 100644 --- a/perl-JSON-Parse.changes +++ b/perl-JSON-Parse.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon May 23 12:02:34 UTC 2016 - coolo@suse.com + +- updated to 0.40 + see /usr/share/doc/packages/perl-JSON-Parse/Changes + + 0.40 2016-05-22 + + * Compilation warning, possible memory leaks (SHLOMIF) + ------------------------------------------------------------------- Fri Nov 20 09:41:24 UTC 2015 - coolo@suse.com diff --git a/perl-JSON-Parse.spec b/perl-JSON-Parse.spec index cc8c538..21dfa6d 100644 --- a/perl-JSON-Parse.spec +++ b/perl-JSON-Parse.spec @@ -1,7 +1,7 @@ # # spec file for package perl-JSON-Parse # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,7 +17,7 @@ Name: perl-JSON-Parse -Version: 0.39 +Version: 0.40 Release: 0 %define cpan_name JSON-Parse Summary: Read JSON into a Perl variable @@ -36,19 +36,18 @@ JSON::Parse offers the function parse_json, which takes one argument, a string containing JSON, and returns a Perl reference or scalar. The input to 'parse_json' must be a complete JSON structure. -A safer version of the same function parse_json_safe also exists. - -JSON::Parse also offers two validation functions, valid_json, which returns -true or false, and assert_valid_json, which produces a descriptive fatal -error if the JSON is invalid. These act at a higher speed than parse_json. -See PERFORMANCE for a comparison. +JSON::Parse also offers two high-speed validation functions, valid_json, +which returns true or false, and assert_valid_json, which produces a +descriptive fatal error if the JSON is invalid. These are much faster than +parse_json. See PERFORMANCE for a comparison. JSON::Parse also offers one convenience function to read JSON directly from -a file, json_file_to_perl. +a file, json_file_to_perl, and a safer version of parse_json called +parse_json_safe which doesn't throw exceptions. -For those who need to deal with special cases, such as JSON objects with -non-unique names, or round-trips with JSON booleans, there is also new and -run. +For special cases, such as JSON objects with non-unique names (key +collisions), or round-trips with JSON booleans, there are also new and run, +which create a JSON parsing object and run it on text. JSON::Parse accepts only UTF-8 as input. If its input is marked as Unicode characters, the strings in its output are also marked as Unicode @@ -59,7 +58,7 @@ its output is upgraded to Unicode character strings. %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"