summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-mnemo.spec23
1 files changed, 19 insertions, 4 deletions
diff --git a/php-horde-mnemo.spec b/php-horde-mnemo.spec
index 075a88b..462280f 100644
--- a/php-horde-mnemo.spec
+++ b/php-horde-mnemo.spec
@@ -13,7 +13,7 @@
%global with_tests 0%{?_with_tests:1}
Name: php-horde-mnemo
-Version: 4.2.10
+Version: 4.2.11
Release: 1%{?dist}
Summary: A web based notes manager
@@ -159,11 +159,23 @@ rm -rf %{buildroot}
%check
%if %{with_tests}
cd %{pear_name}-%{version}/test/Mnemo
-%{_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
%else
: Test disabled
%endif
@@ -209,6 +221,9 @@ fi
%changelog
+* Sat Jul 02 2016 Remi Collet <remi@fedoraproject.org> - 4.2.11-1
+- Update to 4.2.11
+
* Mon Mar 21 2016 Remi Collet <remi@fedoraproject.org> - 4.2.10-1
- Update to 4.2.10