summaryrefslogtreecommitdiffstats
path: root/phpcov.spec
diff options
context:
space:
mode:
Diffstat (limited to 'phpcov.spec')
-rw-r--r--phpcov.spec13
1 files changed, 10 insertions, 3 deletions
diff --git a/phpcov.spec b/phpcov.spec
index b3c3200..6c4080b 100644
--- a/phpcov.spec
+++ b/phpcov.spec
@@ -1,6 +1,6 @@
# fedora/remirepo spec file for phpcov
#
-# Copyright (c) 2013-2021 Remi Collet
+# Copyright (c) 2013-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -27,7 +27,7 @@
Name: %{pk_project}
Version: 8.2.0
-Release: 2%{?dist}
+Release: 5%{?dist}
Summary: CLI frontend for PHP_CodeCoverage
License: BSD
@@ -37,6 +37,8 @@ Source1: makesrc.sh
# Fix autoload for RPM
Patch0: %{gh_project}-rpm.patch
+# https://github.com/sebastianbergmann/phpcov/pull/116
+Patch1: %{gh_project}-pr116.patch
BuildArch: noarch
BuildRequires: php(language) >= 7.3
@@ -108,6 +110,7 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
%setup -q -n %{gh_project}-%{gh_commit}
%patch0 -p0 -b .rpm
+%patch1 -p1
%build
@@ -159,7 +162,7 @@ find tests -name \*.phpt \
-exec sed -e '/xdebug.overload_var_dump/d' -i {} \;
ret=0
-for cmd in php php73 php74 php80; do
+for cmd in php php74 php80 php81; do
if which $cmd; then
$cmd $EXT %{_bindir}/phpunit9 --testsuite end-to-end --verbose || ret=1
fi
@@ -181,6 +184,10 @@ exit $ret;
%changelog
+* Tue Mar 22 2022 Remi Collet <remi@remirepo.net> - 8.2.0-5
+- fix for phpunit/php-code-coverage 9.2.13
+ from https://github.com/sebastianbergmann/phpcov/pull/116
+
* Fri Jan 29 2021 Remi Collet <remi@remirepo.net> - 8.2.0-2
- fix test suite and FTBFS