From 81c4df9a10cb922662c0149e197fb836d7789334 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 17 May 2021 09:40:45 +0200 Subject: update to 0.12.32 --- composer.json | 6 +++--- php-swaggest-json-schema.spec | 17 ++++++++++------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index a96e1e4..cc9708d 100644 --- a/composer.json +++ b/composer.json @@ -10,8 +10,8 @@ "swaggest/json-diff": "^3.5.1" }, "require-dev": { - "phpunit/phpunit": "4.8.35", - "phpunit/php-code-coverage": "2.2.4" + "phpunit/phpunit": "^5", + "phpunit/php-code-coverage": "^4" }, "license": "MIT", "authors": [ @@ -36,7 +36,7 @@ }, "config": { "platform": { - "php": "5.4.45" + "php": "5.6.0" } } } diff --git a/php-swaggest-json-schema.spec b/php-swaggest-json-schema.spec index 3e81d72..f5a2fd3 100644 --- a/php-swaggest-json-schema.spec +++ b/php-swaggest-json-schema.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-swaggest-json-schema # -# Copyright (c) 2019-2020 Remi Collet +# Copyright (c) 2019-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit a4adcdbb38f38a19d3f1801150822172cf1c4853 +%global gh_commit f92567a1f4fcb0296758b471654171acfdb6031b %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.31 +Version: 0.12.32 Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: High definition PHP structures with JSON-schema based validation @@ -45,10 +45,10 @@ BuildRequires: php-phplang-scope-exit >= 1.0 BuildRequires: php-swaggest-json-diff >= 3.5.1 %endif # For tests, from composer.json "require-dev": { -# "phpunit/phpunit": "^4.8.23", -# "phpunit/php-code-coverage": "2.2.4", +# "phpunit/phpunit": "^5", +# "phpunit/php-code-coverage": "^4", # "codeclimate/php-test-reporter": "^0.4.0" -BuildRequires: php-composer(phpunit/phpunit) >= 4.8.23 +BuildRequires: php-composer(phpunit/phpunit) >= 5 %global phpunit %{_bindir}/phpunit BuildRequires: php-date BuildRequires: php-filter @@ -129,7 +129,7 @@ require '%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}%{major}/autoload EOF ret=0 -for cmd in php php71 php72 php73 php74; do +for cmd in php php73 php74 php80; do if which $cmd; then $cmd %{phpunit} --no-coverage --verbose || ret=1 fi @@ -151,6 +151,9 @@ exit $ret %changelog +* Mon May 17 2021 Remi Collet - 0.12.32-1 +- update to 0.12.32 + * Mon Sep 21 2020 Remi Collet - 0.12.31-1 - update to 0.12.31 -- cgit