summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpunit-php-code-coverage7.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/php-phpunit-php-code-coverage7.spec b/php-phpunit-php-code-coverage7.spec
index 73b1c5f..b97394f 100644
--- a/php-phpunit-php-code-coverage7.spec
+++ b/php-phpunit-php-code-coverage7.spec
@@ -9,7 +9,7 @@
%global bootstrap 0
# Github
-%global gh_commit f1884187926fbb755a9aaf0b3836ad3165b478bf
+%global gh_commit 52f55786aa2e52c26cd9e2db20aff2981e0f7399
#global gh_date 20150924
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_vendor sebastianbergmann
@@ -29,7 +29,7 @@
%endif
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
-Version: 7.0.10
+Version: 7.0.12
Release: 1%{?dist}
Summary: PHP code coverage information
@@ -68,7 +68,7 @@ BuildRequires: php-theseer-tokenizer >= 1.1.3
# "phpunit/phpunit": "^8.2.2"
# 7.2 because of tests
BuildRequires: phpunit8 >= 8.2.2
-BuildRequires: php-pecl-xdebug >= 2.6.1
+BuildRequires: php-xdebug >= 2.6.1
%endif
# From composer.json, require
@@ -170,6 +170,7 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}
if ! php -v | grep Xdebug
then EXT="-d zend_extension=xdebug.so"
fi
+export XDEBUG_MODE=coverage
cat << 'EOF' | tee tests/bootstrap.php
<?php
@@ -202,6 +203,9 @@ exit $ret
%changelog
+* Fri Nov 27 2020 Remi Collet <remi@remirepo.net> - 7.0.12-1
+- update to 7.0.12
+
* Wed Nov 20 2019 Remi Collet <remi@remirepo.net> - 7.0.10-1
- update to 7.0.10