diff --git a/.gitignore b/.gitignore index dbe3c32..7828a48 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ 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 +/php-justinrainbow-json-schema5-5.3.1-b5a44b6.tgz diff --git a/php-justinrainbow-json-schema5.spec b/php-justinrainbow-json-schema5.spec index 34da401..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-2023 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 fbbe7e5d79f618997bc3332a6f49246036c45793 +%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.2.13 -Release: 3%{?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} @@ -52,14 +52,10 @@ 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 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", @@ -72,16 +68,12 @@ 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 -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 php80 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,23 @@ 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 + +* 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 + +* 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..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.2.13-fbbe7e5.tgz) = 7eea47c5de0b4b0206d0fdfce51da6beb0bcb2d767e127d029261b7866eed6c132a198183e84664b5547e623c5dce73685616441c5f1aec56b80519a268ad2bc +SHA512 (php-justinrainbow-json-schema5-5.3.1-b5a44b6.tgz) = bf183d685d7410c09da2c24d6aeac86fe6f804bd79f15bc573d9e52f7437817437e975d34ce79e56f824fa6d9deb57cc7df531977e745a66c0a0c54eafeacb8c