From 2283e76b83efe828d634cb4b4c4aed33c6390091 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 2 Feb 2016 08:32:28 +0100 Subject: php-horde-Horde-Lock: 2.1.2 --- php-horde-Horde-Lock.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/php-horde-Horde-Lock.spec b/php-horde-Horde-Lock.spec index d7c8d85..c99d776 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.1 +Version: 2.1.2 Release: 1%{?dist} Summary: Horde Resource Locking System @@ -82,12 +82,12 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} %check %if %{with_tests} -src=$(pwd)/%{pear_name}-%{version} cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g) -phpunit \ - --include-path=$src/lib \ - -d date.timezone=UTC \ - . +%{_bindir}/phpunit . + +if which php70; then + php70 %{_bindir}/phpunit . || : +fi %else : Test disabled, missing '--with tests' option. %endif @@ -115,6 +115,11 @@ fi %changelog +* Tue Feb 02 2016 Remi Collet - 2.1.2-1 +- Update to 2.1.2 +- PHP 7 compatible version +- run test suite with both PHP 5 and 7 when available + * Thu May 22 2014 Remi Collet - 2.1.1-1 - Update to 2.1.1 -- cgit