summaryrefslogtreecommitdiffstats
path: root/php-horde-wicked.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-02 09:07:37 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-02 09:07:37 +0200
commit23d8534f973fead686fa834011b39dac396d88e0 (patch)
treeda10b9e0177cc51f52aaecc170a8cfc33ca54247 /php-horde-wicked.spec
parent93b2e9e5381224cebb9052b046152c9e373a8820 (diff)
php-horde-wicked: 2.0.6
Diffstat (limited to 'php-horde-wicked.spec')
-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