summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Http.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-Http.spec b/php-horde-Horde-Http.spec
index 47ae906..1719e48 100644
--- a/php-horde-Horde-Http.spec
+++ b/php-horde-Horde-Http.spec
@@ -18,7 +18,7 @@
%endif
Name: php-horde-Horde-Http
-Version: 2.1.5
+Version: 2.1.6
Release: 1%{?dist}
Summary: Horde HTTP libraries
@@ -90,7 +90,11 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%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, missing '--with tests' option.
%endif
@@ -117,6 +121,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.1.6-1
+- Update to 2.1.6
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Tue Apr 14 2015 Remi Collet <remi@fedoraproject.org> - 2.1.5-1
- Update to 2.1.5
- drop patch, merged upstream