From 23d8534f973fead686fa834011b39dac396d88e0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 2 Jul 2016 09:07:37 +0200 Subject: php-horde-wicked: 2.0.6 --- php-horde-wicked.spec | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'php-horde-wicked.spec') 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 - 2.0.6-1 +- Update to 2.0.6 + * Mon Mar 21 2016 Remi Collet - 2.0.5-1 - Update to 2.0.5 -- cgit