[php-horde-Horde-Imap-Client] ignore test result with old PHPUnit
Remi Collet
remi at fedoraproject.org
Tue Aug 5 07:16:25 UTC 2014
commit 56cf319d5ff4b626a03fefecad1b52bcfee6f879
Author: Remi Collet <remi at fedoraproject.org>
Date: Tue Aug 5 09:08:19 2014 +0200
ignore test result with old PHPUnit
(cherry picked from commit d29faec942fe7e1fefa737378c4c1fb0af594f57)
php-horde-Horde-Imap-Client.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/php-horde-Horde-Imap-Client.spec b/php-horde-Horde-Imap-Client.spec
index e863243..4c670a6 100644
--- a/php-horde-Horde-Imap-Client.spec
+++ b/php-horde-Horde-Imap-Client.spec
@@ -128,10 +128,15 @@ done | tee ../%{pear_name}.lang
src=$(pwd)/%{pear_name}-%{version}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
+# ignore test result with old PHPUnit
phpunit \
--include-path=$src/lib \
-d date.timezone=UTC \
+%if 0%{?fedora} < 21 && 0%{?rhel} < 7
+ . || exit 0
+%else
.
+%endif
%post
More information about the scm-commits
mailing list