summaryrefslogtreecommitdiffstats
path: root/php-williamdes-mariadb-mysql-kbs.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-12-20 10:51:29 +0100
committerRemi Collet <remi@php.net>2021-12-20 10:51:29 +0100
commit0929d30a6ed395af33f35787e7f163cafd9501ba (patch)
treeeca1ae7fd9a71a5a77d5be54cf8ab449e4946ba8 /php-williamdes-mariadb-mysql-kbs.spec
parentb193218c3aa841b328f998814b52567b4b247e79 (diff)
update to 1.2.13
Diffstat (limited to 'php-williamdes-mariadb-mysql-kbs.spec')
-rw-r--r--php-williamdes-mariadb-mysql-kbs.spec25
1 files changed, 12 insertions, 13 deletions
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 <remi@remirepo.net> - 1.2.13-1
+- update to 1.2.13
+
* Mon Jan 4 2021 Remi Collet <remi@remirepo.net> - 1.2.12-1
- update to 1.2.12