From c2cd99e52024cd95bee4de88eeae52d4fcc3ebb5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 8 Jul 2024 09:06:22 +0200 Subject: [PATCH 1/5] update to 5.3.0 raise dependency on PHP 7.1 --- .gitignore | 1 + php-justinrainbow-json-schema5.spec | 20 ++++++++++++-------- sources | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index dbe3c32..b30afa5 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ clog /php-justinrainbow-json-schema5-5.2.11-2ab6744.tgz /php-justinrainbow-json-schema5-5.2.12-ad87d5a.tgz /php-justinrainbow-json-schema5-5.2.13-fbbe7e5.tgz +/php-justinrainbow-json-schema5-5.3.0-feb2ca6.tgz diff --git a/php-justinrainbow-json-schema5.spec b/php-justinrainbow-json-schema5.spec index 34da401..ac0c211 100644 --- a/php-justinrainbow-json-schema5.spec +++ b/php-justinrainbow-json-schema5.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-justinrainbow-json-schema5 # -# Copyright (c) 2016-2023 Remi Collet +# Copyright (c) 2016-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -14,7 +14,7 @@ %bcond_without tests %endif -%global gh_commit fbbe7e5d79f618997bc3332a6f49246036c45793 +%global gh_commit feb2ca6dd1cebdaf1ed60a4c8de2e53ce11c4fd8 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner justinrainbow %global gh_project json-schema @@ -34,8 +34,8 @@ %global eolv2 0 Name: php-%{gh_owner}-%{gh_project}%{major} -Version: 5.2.13 -Release: 3%{?dist} +Version: 5.3.0 +Release: 1%{?dist} Summary: A library to validate a json schema License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} @@ -52,7 +52,7 @@ Patch0: %{name}-rpm.patch BuildArch: noarch %if %{with tests} # For tests -BuildRequires: php(language) >= 5.3.3 +BuildRequires: php(language) >= 7.1 BuildRequires: php-curl BuildRequires: php-date BuildRequires: php-filter @@ -72,8 +72,8 @@ BuildRequires: composer %endif # From composer.json, "require": { -# "php": ">=5.3.3" -Requires: php(language) >= 5.3.3 +# "php": ">=7.1" +Requires: php(language) >= 7.1 # From phpcompatinfo report for version 4.0.1 Requires: php-curl Requires: php-date @@ -163,7 +163,7 @@ php bin/validate-json-test \ : Upstream test suite ret=0 -for cmd in php php80 php81 php82 php83; do +for cmd in php php81 php82 php83; do if which $cmd; then $cmd -d memory_limit=1G %{_bindir}/phpunit -d memory_limit=1G --verbose || ret=1 fi @@ -184,6 +184,10 @@ exit $ret %changelog +* Mon Jul 8 2024 Remi Collet - 5.3.0-1 +- update to 5.3.0 +- raise dependency on PHP 7.1 + * Thu Jan 25 2024 Fedora Release Engineering - 5.2.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index c1e7636..bdac52e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (JSON-Schema-Test-Suite-1.2.0-f3d5aeb.tar.gz) = 6b917a0a0b02d5b2be6457403fba0ae4d3789634da911ebbdc56986b99ae285ed8a7bc696abc668f2a95b55e33d7bfbf8709162fc0995d76ab2f0d05494a2d02 -SHA512 (php-justinrainbow-json-schema5-5.2.13-fbbe7e5.tgz) = 7eea47c5de0b4b0206d0fdfce51da6beb0bcb2d767e127d029261b7866eed6c132a198183e84664b5547e623c5dce73685616441c5f1aec56b80519a268ad2bc +SHA512 (php-justinrainbow-json-schema5-5.3.0-feb2ca6.tgz) = acfbda0719314e77d3041bf6c1ad54dac901470fc5ce0e68e75ac1d7dd10199acc38af71d8bb76020704bad2e6400d30fa54c6d15af516b71627c185101be865 From b3fd2ccb25a141294114871b3e7221e78f323cb9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 06:55:50 +0000 Subject: [PATCH 2/5] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-justinrainbow-json-schema5.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-justinrainbow-json-schema5.spec b/php-justinrainbow-json-schema5.spec index ac0c211..fd2da95 100644 --- a/php-justinrainbow-json-schema5.spec +++ b/php-justinrainbow-json-schema5.spec @@ -35,7 +35,7 @@ Name: php-%{gh_owner}-%{gh_project}%{major} Version: 5.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library to validate a json schema License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} @@ -184,6 +184,9 @@ exit $ret %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 5.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Mon Jul 8 2024 Remi Collet - 5.3.0-1 - update to 5.3.0 - raise dependency on PHP 7.1 From 622bea11d43e4634d0020cef1b986fa5a842fb90 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 09:06:26 +0000 Subject: [PATCH 3/5] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-justinrainbow-json-schema5.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-justinrainbow-json-schema5.spec b/php-justinrainbow-json-schema5.spec index fd2da95..ff209f3 100644 --- a/php-justinrainbow-json-schema5.spec +++ b/php-justinrainbow-json-schema5.spec @@ -35,7 +35,7 @@ Name: php-%{gh_owner}-%{gh_project}%{major} Version: 5.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library to validate a json schema License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} @@ -184,6 +184,9 @@ exit $ret %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 5.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 19 2024 Fedora Release Engineering - 5.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From c4bdd018634a76c0b0575800775f0f7adf34705c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:13:26 +0000 Subject: [PATCH 4/5] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-justinrainbow-json-schema5.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-justinrainbow-json-schema5.spec b/php-justinrainbow-json-schema5.spec index ff209f3..30aed8a 100644 --- a/php-justinrainbow-json-schema5.spec +++ b/php-justinrainbow-json-schema5.spec @@ -35,7 +35,7 @@ Name: php-%{gh_owner}-%{gh_project}%{major} Version: 5.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A library to validate a json schema License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} @@ -184,6 +184,9 @@ exit $ret %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 5.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Jan 18 2025 Fedora Release Engineering - 5.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From c34e3419749e9b7c42d36b4c22644daf40bcc882 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Dec 2025 10:44:03 +0100 Subject: [PATCH 5/5] update to 5.3.1 re-license spec file to CECILL-2.1 --- .gitignore | 1 + php-justinrainbow-json-schema5.spec | 26 +++++++++++--------------- sources | 2 +- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index b30afa5..7828a48 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ clog /php-justinrainbow-json-schema5-5.2.12-ad87d5a.tgz /php-justinrainbow-json-schema5-5.2.13-fbbe7e5.tgz /php-justinrainbow-json-schema5-5.3.0-feb2ca6.tgz +/php-justinrainbow-json-schema5-5.3.1-b5a44b6.tgz diff --git a/php-justinrainbow-json-schema5.spec b/php-justinrainbow-json-schema5.spec index 30aed8a..f31e0e3 100644 --- a/php-justinrainbow-json-schema5.spec +++ b/php-justinrainbow-json-schema5.spec @@ -1,8 +1,8 @@ # remirepo/fedora spec file for php-justinrainbow-json-schema5 # -# Copyright (c) 2016-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2016-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -14,7 +14,7 @@ %bcond_without tests %endif -%global gh_commit feb2ca6dd1cebdaf1ed60a4c8de2e53ce11c4fd8 +%global gh_commit b5a44b6391a3bbb75c9f2b73e1ef03d6045e1e20 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner justinrainbow %global gh_project json-schema @@ -34,8 +34,8 @@ %global eolv2 0 Name: php-%{gh_owner}-%{gh_project}%{major} -Version: 5.3.0 -Release: 4%{?dist} +Version: 5.3.1 +Release: 1%{?dist} Summary: A library to validate a json schema License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} @@ -54,12 +54,8 @@ BuildArch: noarch # For tests BuildRequires: php(language) >= 7.1 BuildRequires: php-curl -BuildRequires: php-date -BuildRequires: php-filter BuildRequires: php-json BuildRequires: php-mbstring -BuildRequires: php-pcre -BuildRequires: php-spl # From composer.json, "require-dev": { # "json-schema/json-schema-test-suite": "1.2.0", # "friendsofphp/php-cs-fixer": "^2.1", @@ -76,12 +72,8 @@ BuildRequires: composer Requires: php(language) >= 7.1 # From phpcompatinfo report for version 4.0.1 Requires: php-curl -Requires: php-date -Requires: php-filter Requires: php-json Requires: php-mbstring -Requires: php-pcre -Requires: php-spl # Autoloader Requires: php-composer(fedora/autoloader) %if %{eolv1} @@ -163,7 +155,7 @@ php bin/validate-json-test \ : Upstream test suite ret=0 -for cmd in php php81 php82 php83; do +for cmd in php php81 php82 php83 php84 php85; do if which $cmd; then $cmd -d memory_limit=1G %{_bindir}/phpunit -d memory_limit=1G --verbose || ret=1 fi @@ -184,6 +176,10 @@ exit $ret %changelog +* Fri Dec 12 2025 Remi Collet - 5.3.1-1 +- update to 5.3.1 +- re-license spec file to CECILL-2.1 + * Fri Jul 25 2025 Fedora Release Engineering - 5.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/sources b/sources index bdac52e..77cf9e2 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (JSON-Schema-Test-Suite-1.2.0-f3d5aeb.tar.gz) = 6b917a0a0b02d5b2be6457403fba0ae4d3789634da911ebbdc56986b99ae285ed8a7bc696abc668f2a95b55e33d7bfbf8709162fc0995d76ab2f0d05494a2d02 -SHA512 (php-justinrainbow-json-schema5-5.3.0-feb2ca6.tgz) = acfbda0719314e77d3041bf6c1ad54dac901470fc5ce0e68e75ac1d7dd10199acc38af71d8bb76020704bad2e6400d30fa54c6d15af516b71627c185101be865 +SHA512 (php-justinrainbow-json-schema5-5.3.1-b5a44b6.tgz) = bf183d685d7410c09da2c24d6aeac86fe6f804bd79f15bc573d9e52f7437817437e975d34ce79e56f824fa6d9deb57cc7df531977e745a66c0a0c54eafeacb8c