summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Imap-Client.spec22
1 files changed, 18 insertions, 4 deletions
diff --git a/php-horde-Horde-Imap-Client.spec b/php-horde-Horde-Imap-Client.spec
index e4a74a8..0a191cb 100644
--- a/php-horde-Horde-Imap-Client.spec
+++ b/php-horde-Horde-Imap-Client.spec
@@ -12,7 +12,7 @@
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
Name: php-horde-Horde-Imap-Client
-Version: 2.29.7
+Version: 2.29.8
Release: 1%{?dist}
Summary: Horde IMAP abstraction interface
@@ -139,15 +139,26 @@ done | tee ../%{pear_name}.lang
export LANG=fr_FR.utf8
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
+# 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
if %{_bindir}/phpunit --atleast-version 4.8; then
%{_bindir}/phpunit --verbose .
else
: PHPUnit is too old for this package
fi
-
-if which php70; then
- php70 %{_bindir}/phpunit --verbose .
+# remirepo:2
fi
+exit $ret
%else
: bootstrap build with test suite disabled
%endif
@@ -178,6 +189,9 @@ fi
%changelog
+* Sat Jul 02 2016 Remi Collet <remi@fedoraproject.org> - 2.29.8-1
+- Update to 2.29.8
+
* Thu Jun 02 2016 Remi Collet <remi@fedoraproject.org> - 2.29.7-1
- Update to 2.29.7