From e0eafd9fd7291cfd203e9b3b7560186930aba477 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 2 Feb 2016 11:11:12 +0100 Subject: php-horde-Horde-Service-Gravatar: 1.0.1 --- php-horde-Horde-Service-Gravatar.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/php-horde-Horde-Service-Gravatar.spec b/php-horde-Horde-Service-Gravatar.spec index f166bd4..969e145 100644 --- a/php-horde-Horde-Service-Gravatar.spec +++ b/php-horde-Horde-Service-Gravatar.spec @@ -12,7 +12,7 @@ %global with_tests %{?_without_tests:0}%{!?_without_tests:1} Name: php-horde-Horde-Service-Gravatar -Version: 1.0.0 +Version: 1.0.1 Release: 1%{?dist} Summary: API accessor for gravatar.com @@ -80,12 +80,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 @@ -116,5 +116,10 @@ fi %changelog +* Tue Feb 02 2016 Remi Collet - 1.0.1-1 +- Update to 1.0.1 +- PHP 7 compatible version +- run test suite with both PHP 5 and 7 when available + * Thu Jul 10 2014 Remi Collet - 1.0.0-1 - initial package, version 1.0.0 -- cgit