summaryrefslogtreecommitdiffstats
path: root/php-phpunit-PHPUnit.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-10-06 11:11:00 +0200
committerRemi Collet <fedora@famillecollet.com>2014-10-06 11:11:00 +0200
commit495b1ba6e709516f4a0044649e4b847a9132f663 (patch)
tree53163dde48d69e23b2e7628a1d8a66b2b4312ef2 /php-phpunit-PHPUnit.spec
parentc994188d13fc118a10685ae9ea9e10dc175cb51e (diff)
php-phpunit-PHPUnit: only enable colors when output to a terminal (backported from 4.4)
Diffstat (limited to 'php-phpunit-PHPUnit.spec')
-rw-r--r--php-phpunit-PHPUnit.spec9
1 files changed, 8 insertions, 1 deletions
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 <remi@fedoraproject.org> - 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 <remi@fedoraproject.org> - 4.3.0-1
- Update to 4.3.0
- drop dependencies on ocramius/instantiator and ocramius/lazy-map