From 6b262f4ef65dcd9f62f52b02c2bd5f9aa6ed1440 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 25 Oct 2021 10:03:00 +0200 Subject: update to 2.0.4 switch to phpunit9 --- php-doctrine-inflector2.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'php-doctrine-inflector2.spec') diff --git a/php-doctrine-inflector2.spec b/php-doctrine-inflector2.spec index feabf2d..052eb54 100644 --- a/php-doctrine-inflector2.spec +++ b/php-doctrine-inflector2.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-doctrine-inflector2 # -# Copyright (c) 2013-2020 Shawn Iwinski, Remi Collet +# Copyright (c) 2013-2021 Shawn Iwinski, Remi Collet # # License: MIT # http://opensource.org/licenses/MIT @@ -10,9 +10,9 @@ %global github_owner doctrine %global github_name inflector -%global github_version 2.0.3 +%global github_version 2.0.4 %global major 2 -%global github_commit 9cf661f4eb38f7c881cac67c75ea9b00bf97b210 +%global github_commit 8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89 %global composer_vendor doctrine %global composer_project inflector @@ -42,15 +42,15 @@ BuildArch: noarch # Tests %if %{with_tests} ## composer.json -BuildRequires: phpunit8 +BuildRequires: phpunit9 BuildRequires: php(language) >= %{php_min_ver} ## phpcompatinfo (computed from version 2.0.1) BuildRequires: php-mbstring BuildRequires: php-pcre BuildRequires: php-spl +%endif # Autoloader BuildRequires: php-fedora-autoloader-devel -%endif # composer.json Requires: php(language) >= %{php_min_ver} @@ -96,9 +96,9 @@ BOOTSTRAP : Upstream tests RETURN_CODE=0 -for PHP_EXEC in "" php72 php73 php74 php80; do +for PHP_EXEC in "" php73 php74 php80 php81; do if [ -z "$PHP_EXEC" ] || which $PHP_EXEC; then - phpunit8 --verbose --bootstrap bootstrap.php \ + phpunit9 --verbose --bootstrap bootstrap.php \ || RETURN_CODE=1 fi done @@ -119,6 +119,10 @@ exit $RETURN_CODE %changelog +* Mon Oct 25 2021 Remi Collet - 2.0.4-1 +- update to 2.0.4 +- switch to phpunit9 + * Tue Jun 2 2020 Remi Collet - 2.0.3-1 - update to 2.0.3 -- cgit