summaryrefslogtreecommitdiffstats
path: root/phpunit7.spec
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit7.spec')
-rw-r--r--phpunit7.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/phpunit7.spec b/phpunit7.spec
index 8e5f171..b1ec880 100644
--- a/phpunit7.spec
+++ b/phpunit7.spec
@@ -25,7 +25,7 @@
%global ver_major 7
%global ver_minor 4
%global ver_patch 1
-%global specrel 1
+%global specrel 2
Name: %{pk_project}%{ver_major}
Version: %{ver_major}.%{ver_minor}.%{ver_patch}
@@ -38,6 +38,7 @@ Source0: https://github.com/%{gh_vendor}/%{gh_project}/archive/%{gh_commi
# Fix command for autoload
Patch0: %{name}-rpm.patch
+Patch1: https://patch-diff.githubusercontent.com/raw/sebastianbergmann/phpunit/pull/3355.patch
BuildArch: noarch
BuildRequires: php(language) >= 7.1
@@ -193,6 +194,7 @@ It is an instance of the xUnit architecture for unit testing frameworks.
%prep
%setup -q -n %{gh_project}-%{gh_commit}
%patch0 -p0 -b .rpm
+%patch1 -p1
%build
@@ -276,6 +278,10 @@ exit $ret
%changelog
+* Thu Oct 18 2018 Remi Collet <remi@remirepo.net> - 7.4.1-2
+- add patch for https://github.com/sebastianbergmann/phpunit/issues/3354
+ from https://github.com/sebastianbergmann/phpunit/pull/3355
+
* Thu Oct 18 2018 Remi Collet <remi@remirepo.net> - 7.4.1-1
- update to 7.4.1
- allow sebastian/environment 4