summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-ListHeaders.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-ListHeaders.spec b/php-horde-Horde-ListHeaders.spec
index c33735b..e584632 100644
--- a/php-horde-Horde-ListHeaders.spec
+++ b/php-horde-Horde-ListHeaders.spec
@@ -11,7 +11,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-ListHeaders
-Version: 1.2.2
+Version: 1.2.3
Release: 1%{?dist}
Summary: Horde List Headers Parsing Library
@@ -99,7 +99,11 @@ rm -rf %{buildroot}
%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
@@ -125,6 +129,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 1.2.3-1
+- Update to 1.2.3
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Tue Apr 28 2015 Remi Collet <remi@fedoraproject.org> - 1.2.2-1
- Update to 1.2.2
- add dependency on Horde_Util