summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Smtp.spec23
1 files changed, 19 insertions, 4 deletions
diff --git a/php-horde-Horde-Smtp.spec b/php-horde-Horde-Smtp.spec
index c216424..205b01c 100644
--- a/php-horde-Horde-Smtp.spec
+++ b/php-horde-Horde-Smtp.spec
@@ -11,7 +11,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Smtp
-Version: 1.9.3
+Version: 1.9.4
Release: 1%{?dist}
Summary: Horde SMTP Client
@@ -109,11 +109,23 @@ 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
%clean
@@ -143,6 +155,9 @@ fi
%changelog
+* Wed Dec 21 2016 Remi Collet <remi@fedoraproject.org> - 1.9.4-1
+- Update to 1.9.4
+
* Mon Mar 21 2016 Remi Collet <remi@fedoraproject.org> - 1.9.3-1
- Update to 1.9.3