diff --git a/.gitignore b/.gitignore index 7a50005..f00efc5 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /php-phpunit-php-code-coverage9-9.1.10-5134e2a.tgz /php-phpunit-php-code-coverage9-9.1.11-c9394cb.tgz /php-phpunit-php-code-coverage9-9.2.0-53a4b73.tgz +/php-phpunit-php-code-coverage9-9.2.1-ed363c3.tgz diff --git a/php-phpunit-php-code-coverage9.spec b/php-phpunit-php-code-coverage9.spec index bffc9f7..2cbb9ec 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 @@ -53,9 +53,8 @@ BuildRequires: (php-composer(sebastian/version) >= 3.0.1 with BuildRequires: (php-composer(theseer/tokenizer) >= 1.2.0 with php-composer(theseer/tokenizer) < 2) # 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 @@ -151,7 +150,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 @@ -162,7 +161,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 \ @@ -183,6 +182,9 @@ exit $ret %changelog +* Tue Oct 27 2020 Remi Collet - 9.2.1-1 +- update to 9.2.1 + * Fri Oct 2 2020 Remi Collet - 9.2.0-1 - update to 9.2.0 diff --git a/sources b/sources index 5fa7bdc..e1b5e0f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpunit-php-code-coverage9-9.2.0-53a4b73.tgz) = 88bc7da292fd2789b6b2a7706450f2f6b12de168b39e8bf80cf16b34acc55d3539744435647ab63f0c21d442d822b9fbcaa625547657cc0af876ab0664daaa9c +SHA512 (php-phpunit-php-code-coverage9-9.2.1-ed363c3.tgz) = dec4b228028b389defebb2c81794585b6c581037ee87299b8745d90dac0ee9c9098cff1c836e79df7b9f0d0ee7202cb9f7a49cccacb0a063b62f876ca0eddf27