summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Image.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-Image.spec b/php-horde-Horde-Image.spec
index a3ea018..b821fd3 100644
--- a/php-horde-Horde-Image.spec
+++ b/php-horde-Horde-Image.spec
@@ -13,7 +13,7 @@
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
Name: php-horde-Horde-Image
-Version: 2.3.3
+Version: 2.3.4
Release: 1%{?dist}
Summary: Horde Image API
@@ -121,7 +121,11 @@ done | tee ../%{pear_name}.lang
%check
%if %{with_tests}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-phpunit .
+%{_bindir}/phpunit .
+
+if which php70; then
+ php70 %{_bindir}/phpunit .
+fi
%else
: Test disabled, bootstrap build
%endif
@@ -150,6 +154,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.3.4-1
+- Update to 2.3.4
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Tue Sep 08 2015 Remi Collet <remi@fedoraproject.org> - 2.3.3-1
- Update to 2.3.3