From 41c1b09622ac5d2043c68be5e53245571aadec1c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 3 Jul 2016 14:11:38 +0200 Subject: php-horde-Horde-Lock: 2.1.3 --- php-horde-Horde-Lock.spec | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'php-horde-Horde-Lock.spec') diff --git a/php-horde-Horde-Lock.spec b/php-horde-Horde-Lock.spec index 271f668..71d3e31 100644 --- a/php-horde-Horde-Lock.spec +++ b/php-horde-Horde-Lock.spec @@ -15,7 +15,7 @@ %global with_tests %{?_with_tests:1}%{!?_with_tests:0} Name: php-horde-Horde-Lock -Version: 2.1.2 +Version: 2.1.3 Release: 1%{?dist} Summary: Horde Resource Locking System @@ -83,11 +83,23 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} %check %if %{with_tests} cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g) -%{_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, missing '--with tests' option. %endif @@ -115,6 +127,9 @@ fi %changelog +* Sun Jul 03 2016 Remi Collet - 2.1.3-1 +- Update to 2.1.3 + * Tue Feb 02 2016 Remi Collet - 2.1.2-1 - Update to 2.1.2 - PHP 7 compatible version -- cgit