summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpcov-pr116.patch23
-rw-r--r--phpcov.spec12
2 files changed, 6 insertions, 29 deletions
diff --git a/phpcov-pr116.patch b/phpcov-pr116.patch
deleted file mode 100644
index 16afc70..0000000
--- a/phpcov-pr116.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 80a2778c39ffe8ad251e238ea49e98e827bad3a4 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Tue, 22 Mar 2022 15:13:26 +0100
-Subject: [PATCH] Fix namespace
-
-Have been renamed in 9.2.12...
----
- src/cli/PatchCoverageCommand.php | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/cli/PatchCoverageCommand.php b/src/cli/PatchCoverageCommand.php
-index 41bdcab..f2a0e71 100644
---- a/src/cli/PatchCoverageCommand.php
-+++ b/src/cli/PatchCoverageCommand.php
-@@ -12,7 +12,7 @@
- use const PHP_EOL;
- use function is_file;
- use function printf;
--use SebastianBergmann\CodeCoverage\Percentage;
-+use SebastianBergmann\CodeCoverage\Util\Percentage;
-
- final class PatchCoverageCommand extends Command
- {
diff --git a/phpcov.spec b/phpcov.spec
index 6c4080b..b950931 100644
--- a/phpcov.spec
+++ b/phpcov.spec
@@ -12,7 +12,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit 742d0608238c7f045fe3115241d7ec3ec2587442
+%global gh_commit 8ec45dde34a84914a0ace355fbd6d7af2242c9a4
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project phpcov
@@ -26,8 +26,8 @@
Name: %{pk_project}
-Version: 8.2.0
-Release: 5%{?dist}
+Version: 8.2.1
+Release: 1%{?dist}
Summary: CLI frontend for PHP_CodeCoverage
License: BSD
@@ -37,8 +37,6 @@ 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
@@ -110,7 +108,6 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
%setup -q -n %{gh_project}-%{gh_commit}
%patch0 -p0 -b .rpm
-%patch1 -p1
%build
@@ -184,6 +181,9 @@ exit $ret;
%changelog
+* Thu Mar 24 2022 Remi Collet <remi@remirepo.net> - 8.2.1-1
+- update to 8.2.1
+
* 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