From 30eb55ad04f7a3b704e5fd653335dc5ad54eae34 Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Wed, 4 May 2016 15:02:20 +0200
Subject: php-phpunit-PHP-CodeCoverage: add upstream patch (tests)

---
 php-phpunit-PHP-CodeCoverage-dev.spec | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

(limited to 'php-phpunit-PHP-CodeCoverage-dev.spec')

diff --git a/php-phpunit-PHP-CodeCoverage-dev.spec b/php-phpunit-PHP-CodeCoverage-dev.spec
index 87cda6a..28398bc 100644
--- a/php-phpunit-PHP-CodeCoverage-dev.spec
+++ b/php-phpunit-PHP-CodeCoverage-dev.spec
@@ -18,7 +18,7 @@
 %global pear_channel pear.phpunit.de
 %global major        3.3
 %global minor        1
-%global specrel      1
+%global specrel      2
 %if %{bootstrap}
 %global with_tests   %{?_with_tests:1}%{!?_with_tests:0}
 %else
@@ -35,6 +35,9 @@ License:        BSD
 URL:            https://github.com/%{gh_owner}/%{gh_project}
 Source0:        https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
 
+# Fix for environment 1.3.6
+Patch0:         %{name}-upstream.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  php(language) >= 5.6
@@ -96,6 +99,8 @@ for PHP code coverage information.
 %prep
 %setup -q -n %{gh_project}-%{gh_commit}
 
+%patch0 -p1
+
 
 %build
 phpab \
@@ -166,6 +171,10 @@ fi
 
 
 %changelog
+* Wed May  4 2016 Remi Collet <remi@fedoraproject.org> - 3.3.1-2
+- add upstream patch for environment 1.3.6
+  https://github.com/sebastianbergmann/php-code-coverage/pull/435
+
 * Fri Apr  8 2016 Remi Collet <remi@fedoraproject.org> - 3.3.1-1
 - Update to 3.3.1
 
-- 
cgit