From 402ccc69a54e8d8d89b48fe6edc25b3ee9b191ab Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 2 Sep 2016 18:29:45 +0200 Subject: php-horde-Horde-Prefs: 2.8.0 --- php-horde-Horde-Prefs.spec | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/php-horde-Horde-Prefs.spec b/php-horde-Horde-Prefs.spec index ce7202f..ee3c484 100644 --- a/php-horde-Horde-Prefs.spec +++ b/php-horde-Horde-Prefs.spec @@ -12,7 +12,7 @@ %global pear_channel pear.horde.org Name: php-horde-Horde-Prefs -Version: 2.7.6 +Version: 2.8.0 Release: 1%{?dist} Summary: Horde Preferences API @@ -123,11 +123,22 @@ done | tee ../%{pear_name}.lang %check 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 %post @@ -155,6 +166,9 @@ fi %changelog +* Fri Sep 02 2016 Remi Collet - 2.8.0-1 +- Update to 2.8.0 + * Wed Mar 09 2016 Remi Collet - 2.7.6-1 - Update to 2.7.6 -- cgit