summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Date-Parser.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-Date-Parser.spec b/php-horde-Horde-Date-Parser.spec
index 4c8d8ac..4ed18b5 100644
--- a/php-horde-Horde-Date-Parser.spec
+++ b/php-horde-Horde-Date-Parser.spec
@@ -11,7 +11,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Date-Parser
-Version: 2.0.4
+Version: 2.0.5
Release: 1%{?dist}
Summary: Horde Date Parser
@@ -79,7 +79,11 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-phpunit .
+%{_bindir}/phpunit .
+
+if which php70; then
+ php70 %{_bindir}/phpunit .
+fi
%post
@@ -103,6 +107,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.0.5-1
+- Update to 2.0.5
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Tue Apr 28 2015 Remi Collet <remi@fedoraproject.org> - 2.0.4-1
- Update to 2.0.4
- add dependency on Horde_Util