summaryrefslogtreecommitdiffstats
path: root/php-phpunit-PHP-CodeCoverage-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-05-04 15:02:20 +0200
committerRemi Collet <fedora@famillecollet.com>2016-05-04 15:02:20 +0200
commit30eb55ad04f7a3b704e5fd653335dc5ad54eae34 (patch)
tree0309e8e374083b03dfbfaf0d7efaeb65574ee2c0 /php-phpunit-PHP-CodeCoverage-dev.spec
parent9830fb28a0ae37e442c46ad0497072cc350252cb (diff)
php-phpunit-PHP-CodeCoverage: add upstream patch (tests)
Diffstat (limited to 'php-phpunit-PHP-CodeCoverage-dev.spec')
-rw-r--r--php-phpunit-PHP-CodeCoverage-dev.spec11
1 files changed, 10 insertions, 1 deletions
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