This commit is contained in:
Remi Collet 2020-11-30 07:17:57 +01:00
commit a49e124502
3 changed files with 10 additions and 5 deletions

View file

@ -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,8 +29,8 @@
%endif
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
Version: 7.0.10
Release: 3%{?dist}
Version: 7.0.12
Release: 1%{?dist}
Summary: PHP code coverage information
# Main license is BSD
@ -56,7 +56,7 @@ BuildRequires: (php-composer(theseer/tokenizer) >= 1.1.3 with
# "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
@ -146,6 +146,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
@ -176,6 +177,9 @@ exit $ret
%changelog
* Fri Nov 27 2020 Remi Collet <remi@remirepo.net> - 7.0.12-1
- update to 7.0.12
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild