summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-01 16:26:49 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-01 16:26:49 +0200
commitb5b0afc952a061b5a34839246773e553881596a3 (patch)
treec92355b5eb1c313e586d05e19d904b3ac89a0700
parent7edb46f7cc34a27df8b58b28fd7271638d66f4d8 (diff)
php-horde-Horde-Alarm: 2.2.8
-rw-r--r--php-horde-Horde-Alarm.spec24
1 files changed, 19 insertions, 5 deletions
diff --git a/php-horde-Horde-Alarm.spec b/php-horde-Horde-Alarm.spec
index 95cac1b..2771ca4 100644
--- a/php-horde-Horde-Alarm.spec
+++ b/php-horde-Horde-Alarm.spec
@@ -12,7 +12,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Alarm
-Version: 2.2.7
+Version: 2.2.8
Release: 1%{?dist}
Summary: Horde Alarm Libraries
@@ -111,11 +111,22 @@ done | tee ../%{pear_name}.lang
%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
@@ -142,6 +153,9 @@ fi
%changelog
+* Thu Sep 01 2016 Remi Collet <remi@fedoraproject.org> - 2.2.8-1
+- Update to 2.2.8
+
* Mon Mar 21 2016 Remi Collet <remi@fedoraproject.org> - 2.2.7-1
- Update to 2.2.7