From 0929d30a6ed395af33f35787e7f163cafd9501ba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Dec 2021 10:51:29 +0100 Subject: update to 1.2.13 --- php-williamdes-mariadb-mysql-kbs.spec | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'php-williamdes-mariadb-mysql-kbs.spec') diff --git a/php-williamdes-mariadb-mysql-kbs.spec b/php-williamdes-mariadb-mysql-kbs.spec index 25ec517..008ce44 100644 --- a/php-williamdes-mariadb-mysql-kbs.spec +++ b/php-williamdes-mariadb-mysql-kbs.spec @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit b5d4b498ba3d24ab7ad7dd0b79384542e37286a1 +%global gh_commit f5c1b00d4bcfb27c06595ae172aa69da1815bfa9 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner williamdes %global gh_project mariadb-mysql-kbs @@ -23,7 +23,7 @@ %global major %nil Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 1.2.12 +Version: 1.2.13 Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist} Summary: An index of the MariaDB and MySQL Knowledge bases @@ -42,22 +42,18 @@ BuildRequires: php-json BuildRequires: php-pcre # For tests, from composer.json "require-dev": { # "phpunit/phpunit": "^7 || ^8 || ^9", -# "phpstan/phpstan": "^0.12", -# "slevomat/coding-standard": "^6.3", -# "squizlabs/php_codesniffer": "^3.4", +# "phpstan/phpstan": "^1.2", +# "wdes/coding-standard": "^3", # "swaggest/json-schema": "^0.12.29" -%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9 BuildRequires: phpunit9 %global phpunit %{_bindir}/phpunit9 -%else -BuildRequires: phpunit8 -%global phpunit %{_bindir}/phpunit8 -%endif +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(swaggest/json-schema) >= 0.12.29 with php-composer(swaggest/json-schema) < 1) +# remirepo:4 %else -BuildRequires: php-composer(swaggest/json-schema) < 1 -BuildRequires: php-composer(swaggest/json-schema) >= 0.12.29 +BuildRequires: php-swaggest-json-schema < 1 +BuildRequires: php-swaggest-json-schema >= 0.12.29 %endif # For autoloader BuildRequires: php-composer(fedora/autoloader) @@ -129,7 +125,7 @@ EOF export RPM_BUILDROOT=%{buildroot} ret=0 -for cmdarg in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80; do +for cmdarg in "php %{phpunit}" php74 php80 php81; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} --no-coverage --verbose || ret=1 @@ -158,6 +154,9 @@ exit $ret %changelog +* Mon Dec 20 2021 Remi Collet - 1.2.13-1 +- update to 1.2.13 + * Mon Jan 4 2021 Remi Collet - 1.2.12-1 - update to 1.2.12 -- cgit