v9.2.1
This commit is contained in:
parent
08cacb707a
commit
22302ff910
3 changed files with 11 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -6,3 +6,4 @@
|
||||||
/php-phpunit-php-code-coverage9-9.1.10-5134e2a.tgz
|
/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.1.11-c9394cb.tgz
|
||||||
/php-phpunit-php-code-coverage9-9.2.0-53a4b73.tgz
|
/php-phpunit-php-code-coverage9-9.2.0-53a4b73.tgz
|
||||||
|
/php-phpunit-php-code-coverage9-9.2.1-ed363c3.tgz
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
|
|
||||||
# Github
|
# Github
|
||||||
%global gh_commit 53a4b737e83be724efd2bc4e7b929b9a30c48972
|
%global gh_commit ed363c3ce393560a1c300dce0298bbf0f0528b13
|
||||||
#global gh_date 20150924
|
#global gh_date 20150924
|
||||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||||
%global gh_vendor sebastianbergmann
|
%global gh_vendor sebastianbergmann
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
%global ver_major 9
|
%global ver_major 9
|
||||||
|
|
||||||
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
|
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
|
||||||
Version: 9.2.0
|
Version: 9.2.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: PHP code coverage information
|
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)
|
BuildRequires: (php-composer(theseer/tokenizer) >= 1.2.0 with php-composer(theseer/tokenizer) < 2)
|
||||||
# From composer.json, "require-dev": {
|
# From composer.json, "require-dev": {
|
||||||
# "phpunit/phpunit": "^9.3"
|
# "phpunit/phpunit": "^9.3"
|
||||||
# TODO test suite passes with v9.2, switch to v9.3 when available
|
BuildRequires: phpunit9 >= 9.3
|
||||||
BuildRequires: phpunit9
|
BuildRequires: php-xdebug
|
||||||
BuildRequires: php-pecl-xdebug
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# From composer.json, require
|
# From composer.json, require
|
||||||
|
|
@ -151,7 +150,7 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
if ! php -v | grep Xdebug
|
if ! php -v | grep Xdebug
|
||||||
then EXT="-d zend_extension=xdebug.so"
|
then EXT="-d zend_extension=xdebug.so -d xdebug.mode=coverage"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat << 'EOF' | tee tests/bootstrap.php
|
cat << 'EOF' | tee tests/bootstrap.php
|
||||||
|
|
@ -162,7 +161,7 @@ define('TEST_FILES_PATH', __DIR__ . '/_files/');
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
ret=0
|
ret=0
|
||||||
for cmd in php php73 php74; do
|
for cmd in php php73 php74 php80; do
|
||||||
if which $cmd; then
|
if which $cmd; then
|
||||||
$cmd $EXT \
|
$cmd $EXT \
|
||||||
-d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php \
|
-d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php \
|
||||||
|
|
@ -183,6 +182,9 @@ exit $ret
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Oct 2 2020 Remi Collet <remi@remirepo.net> - 9.2.0-1
|
||||||
- update to 9.2.0
|
- update to 9.2.0
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue