summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Exception.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-Exception.spec b/php-horde-Horde-Exception.spec
index 341d686..8fa31b1 100644
--- a/php-horde-Horde-Exception.spec
+++ b/php-horde-Horde-Exception.spec
@@ -18,7 +18,7 @@
%endif
Name: php-horde-Horde-Exception
-Version: 2.0.6
+Version: 2.0.7
Release: 1%{?dist}
Summary: Horde Exception Handler
@@ -102,7 +102,11 @@ done | tee ../%{pear_name}.lang
%check
%if %{with_tests}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-phpunit --verbose .
+%{_bindir}/phpunit .
+
+if which php70; then
+ php70 %{_bindir}/phpunit .
+fi
%else
: Test disabled, missing '--with tests' option.
%endif
@@ -131,6 +135,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.0.7-1
+- Update to 2.0.7
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Fri Jul 31 2015 Remi Collet <remi@fedoraproject.org> - 2.0.6-1
- Update to 2.0.6