diff --git a/JSON-Validator-5.14.tar.gz b/JSON-Validator-5.14.tar.gz deleted file mode 100644 index 7697028..0000000 --- a/JSON-Validator-5.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6084a5d4075e421a938ffb2ee97b8504faa35e866d0f7b5b581113af5ee28e1b -size 129871 diff --git a/JSON-Validator-5.15.tar.gz b/JSON-Validator-5.15.tar.gz new file mode 100644 index 0000000..7cdb348 --- /dev/null +++ b/JSON-Validator-5.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eab57676bd3c7c318bc99118754e7f973259792f1ca13099e041938dd515bc05 +size 247378 diff --git a/perl-JSON-Validator.changes b/perl-JSON-Validator.changes index b36eb07..8a68589 100644 --- a/perl-JSON-Validator.changes +++ b/perl-JSON-Validator.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Mar 17 05:34:44 UTC 2025 - Tina Müller + +- updated to 5.150.0 (5.15) + see /usr/share/doc/packages/perl-JSON-Validator/Changes + + 5.15 2025-03-16T18:47:47 + - Make JSON::Validator::Util::is_bool return true when passed perl v5.36+ builtin booleans #275 + - Fix wrong resolving of responses component using $ref #277 + - Fix array coercion for array parameters with a $ref schema #274 + ------------------------------------------------------------------- Tue Mar 7 03:06:49 UTC 2023 - Tina Müller diff --git a/perl-JSON-Validator.spec b/perl-JSON-Validator.spec index 9a11fe4..ee95c83 100644 --- a/perl-JSON-Validator.spec +++ b/perl-JSON-Validator.spec @@ -1,7 +1,7 @@ # # spec file for package perl-JSON-Validator # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,24 +18,41 @@ %define cpan_name JSON-Validator Name: perl-JSON-Validator -Version: 5.14 +Version: 5.150.0 Release: 0 +# 5.15 -> normalize -> 5.150.0 +%define cpan_version 5.15 License: Artistic-2.0 Summary: Validate data against a JSON schema URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(List::Util) >= 1.45 -BuildRequires: perl(Mojolicious) >= 7.28 +BuildRequires: perl(Mojolicious) >= 7.280 BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) >= 1.30 -BuildRequires: perl(YAML::XS) >= 0.67 +BuildRequires: perl(YAML::XS) >= 0.670 Requires: perl(List::Util) >= 1.45 -Requires: perl(Mojolicious) >= 7.28 -Requires: perl(YAML::XS) >= 0.67 +Requires: perl(Mojolicious) >= 7.280 +Requires: perl(YAML::XS) >= 0.670 +Provides: perl(JSON::Validator) = %{version} +Provides: perl(JSON::Validator::Error) +Provides: perl(JSON::Validator::Formats) +Provides: perl(JSON::Validator::Joi) +Provides: perl(JSON::Validator::Schema) +Provides: perl(JSON::Validator::Schema::Draft201909) +Provides: perl(JSON::Validator::Schema::Draft4) +Provides: perl(JSON::Validator::Schema::Draft6) +Provides: perl(JSON::Validator::Schema::Draft7) +Provides: perl(JSON::Validator::Schema::OpenAPIv2) +Provides: perl(JSON::Validator::Schema::OpenAPIv3) +Provides: perl(JSON::Validator::Store) +Provides: perl(JSON::Validator::URI) +Provides: perl(JSON::Validator::Util) +%undefine __perllib_provides %{perl_requires} %description @@ -45,9 +62,9 @@ schema or you can use the elegant DSL schema-builder JSON::Validator::Joi to define the schema programmatically. %prep -%autosetup -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} -p1 -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor