From b0aca4d479aa64617c7912d15b1891ed8f64d39a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 28 Jul 2016 17:16:51 +0200 Subject: php-horde-Horde-Auth: 2.2.0 --- php-horde-Horde-Auth.spec | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/php-horde-Horde-Auth.spec b/php-horde-Horde-Auth.spec index 1ff45e5..b85e250 100644 --- a/php-horde-Horde-Auth.spec +++ b/php-horde-Horde-Auth.spec @@ -12,7 +12,7 @@ %global pear_channel pear.horde.org Name: php-horde-Horde-Auth -Version: 2.1.12 +Version: 2.2.0 Release: 1%{?dist} Summary: Horde Authentication API @@ -120,15 +120,26 @@ done | tee ../%{pear_name}.lang %check cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:) +# remirepo:11 +run=0 +ret=0 +if which php56; then + php56 %{_bindir}/phpunit . || : ignore + run=1 +fi +if which php71; then + php71 %{_bindir}/phpunit . || ret=1 + run=1 +fi +if [ $run -eq 0 ]; then # hex2bin is 5.4 only if php -r 'exit(function_exists("hex2bin") ? 0 : 1);' then %{_bindir}/phpunit . else : test ignored fi - -if which php70 -then php70 %{_bindir}/phpunit . +# remirepo:2 fi +exit $ret %post @@ -155,6 +166,9 @@ fi %changelog +* Thu Jul 28 2016 Remi Collet - 2.2.0-1 +- Update to 2.2.0 + * Tue Apr 05 2016 Remi Collet - 2.1.12-1 - Update to 2.1.12 -- cgit