Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
b78c06fd18 | |||
03d901c3e8 | |||
b8cfba6526 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6084a5d4075e421a938ffb2ee97b8504faa35e866d0f7b5b581113af5ee28e1b
|
||||
size 129871
|
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
|
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
## Build Results
|
||||
|
||||
Current state of perl in openSUSE:Factory is
|
||||
|
||||

|
||||
|
||||
The current state of perl in the devel project build (devel:languages:perl)
|
||||
|
||||

|
||||
|
||||
|
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@@ -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,42 @@
|
||||
|
||||
%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
|
||||
Source100: README.md
|
||||
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 +63,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
|
||||
|
Reference in New Issue
Block a user