From 495b1ba6e709516f4a0044649e4b847a9132f663 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Oct 2014 11:11:00 +0200 Subject: php-phpunit-PHPUnit: only enable colors when output to a terminal (backported from 4.4) --- php-phpunit-PHPUnit.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-phpunit-PHPUnit.spec') diff --git a/php-phpunit-PHPUnit.spec b/php-phpunit-PHPUnit.spec index 6a884e0..d1f9d60 100644 --- a/php-phpunit-PHPUnit.spec +++ b/php-phpunit-PHPUnit.spec @@ -18,7 +18,7 @@ Name: php-phpunit-PHPUnit Version: 4.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The PHP Unit Testing framework Group: Development/Libraries @@ -31,6 +31,8 @@ Source1: Autoload.php.in # Fix command for autoload Patch0: %{gh_project}-rpm.patch +# https://github.com/sebastianbergmann/phpunit/pull/1458 +Patch1: %{gh_project}-colors.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -138,6 +140,7 @@ for the creation, execution and analysis of Unit Tests. %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p0 -b .rpm +%patch1 -p1 %build @@ -197,6 +200,10 @@ fi %changelog +* Mon Oct 6 2014 Remi Collet - 4.3.0-2 +- only enable colors when output to a terminal (from 4.4) +- open https://github.com/sebastianbergmann/phpunit/pull/1458 + * Fri Oct 3 2014 Remi Collet - 4.3.0-1 - Update to 4.3.0 - drop dependencies on ocramius/instantiator and ocramius/lazy-map -- cgit