summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-wicked.spec23
1 files changed, 21 insertions, 2 deletions
diff --git a/php-horde-wicked.spec b/php-horde-wicked.spec
index 28b878d..444b12d 100644
--- a/php-horde-wicked.spec
+++ b/php-horde-wicked.spec
@@ -14,7 +14,7 @@
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
Name: php-horde-wicked
-Version: 2.0.5
+Version: 2.0.6
Release: 1%{?dist}
Summary: Wiki application
@@ -181,7 +181,23 @@ sed -e 's:#!/usr/bin/env php:#!%{_bindir}/php:' \
%check
%if %{with_tests}
cd %{pear_name}-%{version}/test/Wicked
-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
%endif
@@ -225,6 +241,9 @@ fi
%changelog
+* Sat Jul 02 2016 Remi Collet <remi@fedoraproject.org> - 2.0.6-1
+- Update to 2.0.6
+
* Mon Mar 21 2016 Remi Collet <remi@fedoraproject.org> - 2.0.5-1
- Update to 2.0.5