summaryrefslogtreecommitdiffstats
path: root/php-justinrainbow-json-schema5.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-08 09:04:26 +0200
committerRemi Collet <remi@php.net>2024-07-08 09:04:26 +0200
commitcf16460daef12e6d2346bfeb0bcdf3282fbd0cea (patch)
tree22e02c308285bf7414070a204c4a2693d448a499 /php-justinrainbow-json-schema5.spec
parentd36dd4c77ea53076981a1b9727117e301869945a (diff)
update to 5.3.0HEADmaster
raise dependency on PHP 7.1
Diffstat (limited to 'php-justinrainbow-json-schema5.spec')
-rw-r--r--php-justinrainbow-json-schema5.spec21
1 files changed, 12 insertions, 9 deletions
diff --git a/php-justinrainbow-json-schema5.spec b/php-justinrainbow-json-schema5.spec
index d3ce35f..89c4f3d 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,7 +34,7 @@
%global eolv2 0
Name: php-%{gh_owner}-%{gh_project}%{major}
-Version: 5.2.13
+Version: 5.3.0
Release: 1%{?dist}
Summary: A library to validate a json schema
License: MIT
@@ -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
@@ -175,8 +175,7 @@ exit $ret
%files
-# remirepo:1
-%{!?_licensedir:%global license %%doc}
+%global license %%doc
%license LICENSE
%doc composer.json
%doc *.md
@@ -186,6 +185,10 @@ exit $ret
%changelog
+* Mon Jul 8 2024 Remi Collet <remi@remirepo.net> - 5.3.0-1
+- update to 5.3.0
+- raise dependency on PHP 7.1
+
* Thu Sep 28 2023 Remi Collet <remi@remirepo.net> - 5.2.13-1
- update to 5.2.13
- disable test suite