From 4e9ea94386fa40d5d33db25fa0bb7120131effe6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 08:39:46 +0000 Subject: [PATCH 01/14] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-swaggest-json-schema.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index b2ae310..c290548 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 0.12.39 -Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Release: 2%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -154,6 +154,9 @@ exit $ret %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 0.12.39-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Oct 18 2021 Remi Collet - 0.12.39-1 - update to 0.12.39 (no change) From a539f84c9663ac41549a8fd23ae303bbae651f30 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 14:33:16 +0000 Subject: [PATCH 02/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-swaggest-json-schema.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index c290548..c5891b6 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 0.12.39 -Release: 2%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Release: 3%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -154,6 +154,9 @@ exit $ret %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 0.12.39-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Fri Jan 21 2022 Fedora Release Engineering - 0.12.39-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 090f550e866c2185824b76944fb1a70979988065 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 18 Aug 2022 07:13:36 +0200 Subject: [PATCH 03/14] v0.12.41 --- .gitignore | 1 + php-swaggest-json-schema.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6007fc4..62641ff 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /php-swaggest-json-schema-0.12.37-1d7cce2.tgz /php-swaggest-json-schema-0.12.38-ab7cca1.tgz /php-swaggest-json-schema-0.12.39-193ba39.tgz +/php-swaggest-json-schema-0.12.41-1bb9790.tgz diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index c5891b6..947f7db 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit 193ba39cce1ffa2d55ddd5445315e945a63298a2 +%global gh_commit 1bb97901314f828774dd8c5b21bff889ce0b34bb %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner swaggest %global gh_project php-json-schema @@ -23,8 +23,8 @@ %global major %nil Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 0.12.39 -Release: 3%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Version: 0.12.41 +Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -154,6 +154,9 @@ exit $ret %changelog +* Thu Aug 18 2022 Remi Collet - 0.12.41-1 +- update to 0.12.41 + * Fri Jul 22 2022 Fedora Release Engineering - 0.12.39-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index d491c18..cb87255 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-swaggest-json-schema-0.12.39-193ba39.tgz) = 43c1ef489583ac757dc14aee0b4bf61a52a6d4f62c82a8d255a775abad60d5868922fd4c603c47e37a38efd1d13fc1385b07afcadd230a126e3b2aa49216ea3c +SHA512 (php-swaggest-json-schema-0.12.41-1bb9790.tgz) = 80a21c34645bd8863b84bcd485f809a1c389e118a07a7f462314b9b873b624072c99081bf93dbaa194938af95bb264e54dbc22863c8a355e99535beb2785d096 From e9fdfdf9a9132d1c7532a7908a9e7bd6ba890144 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 18 Aug 2022 07:13:36 +0200 Subject: [PATCH 04/14] v0.12.41 (cherry picked from commit 090f550e866c2185824b76944fb1a70979988065) --- .gitignore | 1 + php-swaggest-json-schema.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6007fc4..62641ff 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /php-swaggest-json-schema-0.12.37-1d7cce2.tgz /php-swaggest-json-schema-0.12.38-ab7cca1.tgz /php-swaggest-json-schema-0.12.39-193ba39.tgz +/php-swaggest-json-schema-0.12.41-1bb9790.tgz diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index b2ae310..5083580 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit 193ba39cce1ffa2d55ddd5445315e945a63298a2 +%global gh_commit 1bb97901314f828774dd8c5b21bff889ce0b34bb %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner swaggest %global gh_project php-json-schema @@ -23,7 +23,7 @@ %global major %nil Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 0.12.39 +Version: 0.12.41 Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation @@ -154,6 +154,9 @@ exit $ret %changelog +* Thu Aug 18 2022 Remi Collet - 0.12.41-1 +- update to 0.12.41 + * Mon Oct 18 2021 Remi Collet - 0.12.39-1 - update to 0.12.39 (no change) diff --git a/sources b/sources index d491c18..cb87255 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-swaggest-json-schema-0.12.39-193ba39.tgz) = 43c1ef489583ac757dc14aee0b4bf61a52a6d4f62c82a8d255a775abad60d5868922fd4c603c47e37a38efd1d13fc1385b07afcadd230a126e3b2aa49216ea3c +SHA512 (php-swaggest-json-schema-0.12.41-1bb9790.tgz) = 80a21c34645bd8863b84bcd485f809a1c389e118a07a7f462314b9b873b624072c99081bf93dbaa194938af95bb264e54dbc22863c8a355e99535beb2785d096 From 8fb1ba60a626db22cee1321dbf6f8bfbe5ff3cfb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 09:28:17 +0000 Subject: [PATCH 05/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-swaggest-json-schema.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index 947f7db..5b880d8 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 0.12.41 -Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Release: 2%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -154,6 +154,9 @@ exit $ret %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 0.12.41-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Aug 18 2022 Remi Collet - 0.12.41-1 - update to 0.12.41 From 90c96922b85b517a03df6b8ce8e2cf393a076776 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 05:19:49 +0000 Subject: [PATCH 06/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-swaggest-json-schema.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index 5b880d8..f59da02 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 0.12.41 -Release: 2%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Release: 3%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -154,6 +154,9 @@ exit $ret %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 0.12.41-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Jan 20 2023 Fedora Release Engineering - 0.12.41-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 36b21561b74cc7e03b744abadef0e9b4ad7e7125 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Sep 2023 09:38:30 +0200 Subject: [PATCH 07/14] v0.12.42 --- .gitignore | 1 + php-swaggest-json-schema.spec | 11 +++++++---- sources | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 62641ff..f25e722 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /php-swaggest-json-schema-0.12.38-ab7cca1.tgz /php-swaggest-json-schema-0.12.39-193ba39.tgz /php-swaggest-json-schema-0.12.41-1bb9790.tgz +/php-swaggest-json-schema-0.12.42-d23adb5.tgz diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index f59da02..dd4d08e 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit 1bb97901314f828774dd8c5b21bff889ce0b34bb +%global gh_commit d23adb53808b8e2da36f75bc0188546e4cbe3b45 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner swaggest %global gh_project php-json-schema @@ -23,8 +23,8 @@ %global major %nil Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 0.12.41 -Release: 3%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Version: 0.12.42 +Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -131,7 +131,7 @@ EOF # Skip online tests: testInvalid, testValidate ret=0 -for cmd in php php73 php74 php80 php81; do +for cmd in php php80 php81 php82 php83; do if which $cmd; then $cmd %{phpunit} \ --no-coverage \ @@ -154,6 +154,9 @@ exit $ret %changelog +* Wed Sep 13 2023 Remi Collet - 0.12.42-1 +- update to 0.12.42 + * Fri Jul 21 2023 Fedora Release Engineering - 0.12.41-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index cb87255..702340e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-swaggest-json-schema-0.12.41-1bb9790.tgz) = 80a21c34645bd8863b84bcd485f809a1c389e118a07a7f462314b9b873b624072c99081bf93dbaa194938af95bb264e54dbc22863c8a355e99535beb2785d096 +SHA512 (php-swaggest-json-schema-0.12.42-d23adb5.tgz) = 722bac2499151a31e40d4975e1a56174cd6a19fd4cd4c7244c8ae3cee08f101b972199ada0c3ac9fe754f9c3f3b50cb6aea68fc1e79aba11dc26bafeb03ac5bb From 2acdd04e8afa47767d86f9a05d984d50682c94cf Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 6 Oct 2023 10:07:57 +0200 Subject: [PATCH 08/14] switch to phpunit9 --- php-swaggest-json-schema.spec | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index dd4d08e..7c7f86c 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -1,7 +1,7 @@ # remirepo/fedora spec file for php-swaggest-json-schema # -# Copyright (c) 2019-2021 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2019-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 0.12.42 -Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Release: 2%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -48,8 +48,8 @@ BuildRequires: php-swaggest-json-diff >= 3.8.2 # "phpunit/phpunit": "^5", # "phpunit/php-code-coverage": "^4", # "codeclimate/php-test-reporter": "^0.4.0" -BuildRequires: php-composer(phpunit/phpunit) >= 5 -%global phpunit %{_bindir}/phpunit +BuildRequires: phpunit9 +%global phpunit %{_bindir}/phpunit9 BuildRequires: php-date BuildRequires: php-filter BuildRequires: php-pcre @@ -127,16 +127,28 @@ cat << 'EOF' | tee vendor/autoload.php expectException($e); + if ($m) $this->expectExceptionMessage($m); + } +} EOF +# For phpunit9 +sed -e '/setUp()/s/$/:void/' \ + -i tests/src/PHPUnit/Example/ExampleTest.php + # Skip online tests: testInvalid, testValidate +# Skip because of phpunit9: testPatternPropertiesMismatch ret=0 for cmd in php php80 php81 php82 php83; do if which $cmd; then $cmd %{phpunit} \ --no-coverage \ - --filter '^((?!(SwaggerTest::testInvalid|SwaggerTest::testValidate)).)*$' \ - --verbose || ret=1 + --filter '^((?!(SwaggerTest::testInvalid|SwaggerTest::testValidate|testPatternPropertiesMismatch)).)*$' \ + || ret=1 fi done exit $ret @@ -154,6 +166,9 @@ exit $ret %changelog +* Fri Oct 6 2023 Remi Collet - 0.12.42-2 +- switch to phpunit9 + * Wed Sep 13 2023 Remi Collet - 0.12.42-1 - update to 0.12.42 From c85af1a972f8d4cdb9efeeb78654089003bc32cd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 21:32:46 +0000 Subject: [PATCH 09/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-swaggest-json-schema.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index 7c7f86c..77b33ec 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 0.12.42 -Release: 2%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Release: 3%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -166,6 +166,9 @@ exit $ret %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 0.12.42-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Oct 6 2023 Remi Collet - 0.12.42-2 - switch to phpunit9 From e4893e2e7a62df59c55e0bb290e9a167e7c4055b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 23:20:30 +0000 Subject: [PATCH 10/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-swaggest-json-schema.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index 77b33ec..11a2c46 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 0.12.42 -Release: 3%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Release: 4%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -166,6 +166,9 @@ exit $ret %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 0.12.42-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 0.12.42-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 414893f1c6da1b9a8cc9f7d8947694b1e21c38b1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 07:35:57 +0000 Subject: [PATCH 11/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-swaggest-json-schema.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index 11a2c46..5e026d5 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 0.12.42 -Release: 4%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Release: 5%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -166,6 +166,9 @@ exit $ret %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 0.12.42-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu Jan 25 2024 Fedora Release Engineering - 0.12.42-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 914a0b695d7397de1b54290d7d3a477d452b48ba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Dec 2024 12:52:25 +0100 Subject: [PATCH 12/14] update to 0.12.43 re-license spec file to CECILL-2.1 raise dependency on PHP 7.1 --- .gitignore | 1 + php-swaggest-json-schema.spec | 35 +++++++++++++++-------------------- sources | 2 +- 3 files changed, 17 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index f25e722..96c463e 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /php-swaggest-json-schema-0.12.39-193ba39.tgz /php-swaggest-json-schema-0.12.41-1bb9790.tgz /php-swaggest-json-schema-0.12.42-d23adb5.tgz +/php-swaggest-json-schema-0.12.43-1f3a77a.tgz diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index 5e026d5..60ddb2a 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -1,8 +1,8 @@ # remirepo/fedora spec file for php-swaggest-json-schema # -# Copyright (c) 2019-2023 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2019-2024 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit d23adb53808b8e2da36f75bc0188546e4cbe3b45 +%global gh_commit 1f3a77a382c5d273a0f1fe34be3b8af4060a88cd %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner swaggest %global gh_project php-json-schema @@ -23,8 +23,8 @@ %global major %nil Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 0.12.42 -Release: 5%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Version: 0.12.43 +Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -34,16 +34,11 @@ Source1: makesrc.sh BuildArch: noarch %if %{with tests} -BuildRequires: php(language) >= 5.4 +BuildRequires: php(language) >= 7.1 BuildRequires: php-json BuildRequires: php-mbstring -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(phplang/scope-exit) >= 1.0 with php-composer(phplang/scope-exit) < 2) BuildRequires: (php-composer(swaggest/json-diff) >= 3.8.2 with php-composer(swaggest/json-diff) < 4) -%else -BuildRequires: php-phplang-scope-exit >= 1.0 -BuildRequires: php-swaggest-json-diff >= 3.8.2 -%endif # For tests, from composer.json "require-dev": { # "phpunit/phpunit": "^5", # "phpunit/php-code-coverage": "^4", @@ -59,22 +54,17 @@ BuildRequires: php-fedora-autoloader-devel %endif # From composer.json, "require": { -# "php": ">=5.4", +# "php": ">=7.1", # "ext-json": "*", # "ext-mbstring": "*", # "phplang/scope-exit": "^1.0", # "swaggest/json-diff": "^3.8.2", # "symfony/polyfill-mbstring": "^1.19" -Requires: php(language) >= 5.4 +Requires: php(language) >= 7.1 Requires: php-json Requires: php-mbstring -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(phplang/scope-exit) >= 1.0 with php-composer(phplang/scope-exit) < 2) Requires: (php-composer(swaggest/json-diff) >= 3.8.2 with php-composer(swaggest/json-diff) < 4) -%else -Requires: php-phplang-scope-exit >= 1.0 -Requires: php-swaggest-json-diff >= 3.8.2 -%endif # From phpcompatinfo report for 0.12.17 Requires: php-date Requires: php-filter @@ -143,7 +133,7 @@ sed -e '/setUp()/s/$/:void/' \ # Skip online tests: testInvalid, testValidate # Skip because of phpunit9: testPatternPropertiesMismatch ret=0 -for cmd in php php80 php81 php82 php83; do +for cmd in php php81 php82 php83 php84; do if which $cmd; then $cmd %{phpunit} \ --no-coverage \ @@ -166,6 +156,11 @@ exit $ret %changelog +* Mon Dec 23 2024 Remi Collet - 0.12.43-1 +- update to 0.12.43 +- re-license spec file to CECILL-2.1 +- raise dependency on PHP 7.1 + * Fri Jul 19 2024 Fedora Release Engineering - 0.12.42-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index 702340e..b9268ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-swaggest-json-schema-0.12.42-d23adb5.tgz) = 722bac2499151a31e40d4975e1a56174cd6a19fd4cd4c7244c8ae3cee08f101b972199ada0c3ac9fe754f9c3f3b50cb6aea68fc1e79aba11dc26bafeb03ac5bb +SHA512 (php-swaggest-json-schema-0.12.43-1f3a77a.tgz) = fc1961dfb66d289af17ad602fd01edebb0d9647c28a93203c931a9290eb56eb9e5cdc764878d2e267a4940fbe2d0f9295c375236c184ca15b49d843a7a327969 From 44178b549feabcb12817459471bede647ae6a213 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 09:54:19 +0000 Subject: [PATCH 13/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-swaggest-json-schema.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index 60ddb2a..f6e5e1b 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 0.12.43 -Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Release: 2%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -156,6 +156,9 @@ exit $ret %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 0.12.43-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Mon Dec 23 2024 Remi Collet - 0.12.43-1 - update to 0.12.43 - re-license spec file to CECILL-2.1 From e876ea37da7cc4e1d0aff05d11028f25f177bad4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:39:11 +0000 Subject: [PATCH 14/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-swaggest-json-schema.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index f6e5e1b..ee926cc 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 0.12.43 -Release: 2%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} +Release: 3%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation License: MIT @@ -156,6 +156,9 @@ exit $ret %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 0.12.43-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Jan 18 2025 Fedora Release Engineering - 0.12.43-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild