diff options
author | Remi Collet <remi@remirepo.net> | 2020-10-27 06:57:17 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-10-27 06:57:17 +0100 |
commit | 7e12b623f9b440f99f0897fd003969161ef2c134 (patch) | |
tree | a4214652838cd02233bbac79783ec8d31f43ed81 | |
parent | 8a726c943eea7c1b21e1b0507ffb239d01f7b497 (diff) |
update to 9.2.1
-rw-r--r-- | php-phpunit-php-code-coverage9.spec | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/php-phpunit-php-code-coverage9.spec b/php-phpunit-php-code-coverage9.spec index 3ac1df3..acb588a 100644 --- a/php-phpunit-php-code-coverage9.spec +++ b/php-phpunit-php-code-coverage9.spec @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit 53a4b737e83be724efd2bc4e7b929b9a30c48972 +%global gh_commit ed363c3ce393560a1c300dce0298bbf0f0528b13 #global gh_date 20150924 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_vendor sebastianbergmann @@ -25,7 +25,7 @@ %global ver_major 9 Name: php-%{pk_vendor}-%{pk_project}%{ver_major} -Version: 9.2.0 +Version: 9.2.1 Release: 1%{?dist} Summary: PHP code coverage information @@ -67,9 +67,8 @@ BuildRequires: php-theseer-tokenizer >= 1.2.0 %endif # From composer.json, "require-dev": { # "phpunit/phpunit": "^9.3" -# TODO test suite passes with v9.2, switch to v9.3 when available -BuildRequires: phpunit9 -BuildRequires: php-pecl-xdebug +BuildRequires: phpunit9 >= 9.3 +BuildRequires: php-xdebug %endif # From composer.json, require @@ -179,7 +178,7 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major} %if %{with tests} %check if ! php -v | grep Xdebug -then EXT="-d zend_extension=xdebug.so" +then EXT="-d zend_extension=xdebug.so -d xdebug.mode=coverage" fi cat << 'EOF' | tee tests/bootstrap.php @@ -190,7 +189,7 @@ define('TEST_FILES_PATH', __DIR__ . '/_files/'); EOF ret=0 -for cmd in php php73 php74; do +for cmd in php php73 php74 php80; do if which $cmd; then $cmd $EXT \ -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php \ @@ -213,6 +212,9 @@ exit $ret %changelog +* Tue Oct 27 2020 Remi Collet <remi@remirepo.net> - 9.2.1-1 +- update to 9.2.1 + * Fri Oct 2 2020 Remi Collet <remi@remirepo.net> - 9.2.0-1 - update to 9.2.0 |