summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-02 18:33:31 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-02 18:33:31 +0200
commit34e945005c7b6905bc02f3043105dd191154bb55 (patch)
treed75a21c66a34b1b9ca7d939544e9f3eb3d70bdeb
parent5983a8fc440f3d67e2760e2368991e7767298013 (diff)
php-horde-Horde-SessionHandler: 2.2.8
-rw-r--r--php-horde-Horde-SessionHandler.spec24
1 files changed, 19 insertions, 5 deletions
diff --git a/php-horde-Horde-SessionHandler.spec b/php-horde-Horde-SessionHandler.spec
index 8dc6d88..8a7dccc 100644
--- a/php-horde-Horde-SessionHandler.spec
+++ b/php-horde-Horde-SessionHandler.spec
@@ -11,7 +11,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-SessionHandler
-Version: 2.2.7
+Version: 2.2.8
Release: 1%{?dist}
Summary: Horde Session Handler API
@@ -85,11 +85,22 @@ rm -rf %{buildroot}
%check
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-%{_bindir}/phpunit .
-
-if which php70; then
- php70 %{_bindir}/phpunit . || :
+# remirepo:11
+run=0
+ret=0
+if which php56; then
+ php56 %{_bindir}/phpunit . || ret=1
+ run=1
+fi
+if which php71; then
+ php71 %{_bindir}/phpunit . || ret=1
+ run=1
fi
+if [ $run -eq 0 ]; then
+%{_bindir}/phpunit --verbose .
+# remirepo:2
+fi
+exit $ret
%post
@@ -114,6 +125,9 @@ fi
%changelog
+* Fri Sep 02 2016 Remi Collet <remi@fedoraproject.org> - 2.2.8-1
+- Update to 2.2.8
+
* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.2.7-1
- Update to 2.2.7
- PHP 7 compatible version