From 5ba45cd5fe858f07dd8ea1a23c85d310fff3a380 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 2 Jul 2016 09:03:17 +0200 Subject: php-horde-passwd: 5.0.5 --- php-horde-passwd.spec | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/php-horde-passwd.spec b/php-horde-passwd.spec index 886ff71..1ca1df4 100644 --- a/php-horde-passwd.spec +++ b/php-horde-passwd.spec @@ -13,7 +13,7 @@ %global with_tests %{?_with_tests:1}%{!?_with_tests:0} Name: php-horde-passwd -Version: 5.0.4 +Version: 5.0.5 Release: 1%{?dist} Summary: Horde password changing application @@ -139,12 +139,24 @@ rm -rf %{buildroot} %check %if %{with_tests} -src=$(pwd)/%{pear_name}-%{version} cd %{pear_name}-%{version}/test/Passwd -phpunit\ - --include-path=$src/lib \ - -d date.timezone=UTC \ - . + +# 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 @@ -183,6 +195,9 @@ fi %changelog +* Sat Jul 02 2016 Remi Collet - 5.0.5-1 +- Update to 5.0.5 + * Wed Oct 21 2015 Remi Collet - 5.0.4-1 - Update to 5.0.4 @@ -190,4 +205,4 @@ fi - Update to 5.0.3 * Sat Sep 13 2014 Remi Collet - 5.0.2-1 -- initial package \ No newline at end of file +- initial package -- cgit