summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Url.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-Url.spec b/php-horde-Horde-Url.spec
index 5aa1c9a..868f5fa 100644
--- a/php-horde-Horde-Url.spec
+++ b/php-horde-Horde-Url.spec
@@ -18,7 +18,7 @@
%endif
Name: php-horde-Horde-Url
-Version: 2.2.4
+Version: 2.2.5
Release: 1%{?dist}
Summary: Horde Url class
@@ -80,7 +80,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
@@ -106,6 +110,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.2.5-1
+- Update to 2.2.5
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Fri Jan 09 2015 Remi Collet <remi@fedoraproject.org> - 2.2.4-1
- Update to 2.2.4
- add provides php-composer(horde/horde-url)