summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Secret.spec15
1 files changed, 11 insertions, 4 deletions
diff --git a/php-horde-Horde-Secret.spec b/php-horde-Horde-Secret.spec
index 79a7659..31f7fae 100644
--- a/php-horde-Horde-Secret.spec
+++ b/php-horde-Horde-Secret.spec
@@ -11,7 +11,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Secret
-Version: 2.0.5
+Version: 2.0.6
Release: 1%{?dist}
Summary: Secret Encryption API
@@ -80,9 +80,11 @@ cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
# Issue with old openssl version
rm -f Unit/SecretTest.php
%endif
-phpunit \
- -d date.timezone=UTC \
- .
+%{_bindir}/phpunit .
+
+if which php70; then
+ php70 %{_bindir}/phpunit .
+fi
%post
@@ -106,6 +108,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.0.6-1
+- Update to 2.0.6
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Wed Oct 21 2015 Remi Collet <remi@fedoraproject.org> - 2.0.5-1
- Update to 2.0.5