forked from pool/perl-JSON-Validator
Compare commits
50 Commits
421a9a8618
...
03d901c3e8
Author | SHA256 | Date | |
---|---|---|---|
03d901c3e8 | |||
b8cfba6526 | |||
db51c45986 | |||
14fa49cfc5 | |||
5c4bb1a9e6 | |||
|
dbc3932c4f | ||
46a0b48662 | |||
3a4afa30aa | |||
85fff19887 | |||
|
a94bab631d | ||
4e34743a66 | |||
599a51a621 | |||
672897448d | |||
113ea29a67 | |||
25fd4dc847 | |||
fa5522c9e8 | |||
1237fb3065 | |||
ae80c3923e | |||
7e1b7d5f43 | |||
17499a75bc | |||
5b0bfa53fa | |||
92f59541c3 | |||
|
fb21d33a54 | ||
4e7af3b398 | |||
6da0d047be | |||
ca0af4b690 | |||
87f559898b | |||
421053c03d | |||
87f79a5eae | |||
fbfe16816b | |||
f91e3fe1e3 | |||
1ba97b84ad | |||
3ff822ca91 | |||
a8d9fcfa0b | |||
ffbc41d032 | |||
c728bae432 | |||
ca9aaea175 | |||
|
cd7d232bdf | ||
cc70ee9f8b | |||
19fd85b3cd | |||
ea6f52cda3 | |||
c4a7cc3d48 | |||
070f0470f0 | |||
e204d97e85 | |||
67fc4d41ff | |||
41cc777d99 | |||
0ffe138a22 | |||
02d4afef23 | |||
c796fa5b8d | |||
786a46c934 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b3ebbbbbdf6015a4c8c15c2e2decad8e45c4ffa6b1e94b1771903d85f94c9bd4
|
||||
size 112742
|
3
JSON-Validator-5.15.tar.gz
Normal file
3
JSON-Validator-5.15.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eab57676bd3c7c318bc99118754e7f973259792f1ca13099e041938dd515bc05
|
||||
size 247378
|
@@ -1,3 +1,54 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 17 05:34:44 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- 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 <timueller+perl@suse.de>
|
||||
|
||||
- updated to 5.14
|
||||
see /usr/share/doc/packages/perl-JSON-Validator/Changes
|
||||
|
||||
5.14 2023-03-06T13:45:33
|
||||
- Avoid mutating OpenAPIv2 schema "parameters" when validating
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 9 03:07:16 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 5.13
|
||||
see /usr/share/doc/packages/perl-JSON-Validator/Changes
|
||||
|
||||
5.13 2022-12-09T09:55:24
|
||||
- Fix not coercing body parameter for OpenAPIv2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 27 03:08:11 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 5.12
|
||||
see /usr/share/doc/packages/perl-JSON-Validator/Changes
|
||||
|
||||
5.12 2022-10-26T20:14:57
|
||||
- Allow unicode strings in the JSON schema #268
|
||||
Contributor: Brad Barden
|
||||
- Specified Perl version
|
||||
- Updated basic repository files
|
||||
- Updated contributors list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 31 03:07:16 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 5.11
|
||||
see /usr/share/doc/packages/perl-JSON-Validator/Changes
|
||||
|
||||
5.11 2022-08-30T15:41:16+0900
|
||||
- Fix sorting routes with placeholders on different positions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 19 03:07:53 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-JSON-Validator
|
||||
#
|
||||
# Copyright (c) 2022 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.10
|
||||
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,8 +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}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user