From 3d6de2d8d5b195c82615208a2769aabc2e545ced Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 23 Jul 2016 13:59:20 +0200 Subject: php-pecl-igbinary: ignore 1 test with PHP 7.1 --- php-pecl-igbinary-dev.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/php-pecl-igbinary-dev.spec b/php-pecl-igbinary-dev.spec index 35d75b9..c23623f 100644 --- a/php-pecl-igbinary-dev.spec +++ b/php-pecl-igbinary-dev.spec @@ -34,7 +34,7 @@ Summary: Replacement for the standard PHP serializer Name: %{?sub_prefix}php-pecl-igbinary Version: 1.2.2 %if 0%{?gh_date} -Release: 0.2.%{gh_date}git%{gh_short}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 0.3.%{gh_date}git%{gh_short}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Source0: https://github.com/%{extname}/%{extname}7/archive/%{gh_commit}/%{extname}-%{version}-%{gh_short}.tar.gz %else Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} @@ -210,6 +210,10 @@ done %check +MOD="" +%if "%{php_version}" > "7.1" +rm */tests/igbinary_040.phpt +%else # APC required for test 045 if [ -f %{php_extdir}/apcu.so ]; then MOD="-d extension=apcu.so" @@ -217,6 +221,7 @@ fi if [ -f %{php_extdir}/apc.so ]; then MOD="$MOD -d extension=apc.so" fi +%endif : simple NTS module load test, without APC, as optional %{_bindir}/php --no-php-ini \ @@ -297,6 +302,9 @@ fi %changelog +* Sat Jul 23 2016 Remi Collet - 1.2.2-0.3.20160715gita87a993 +- ignore 1 test with 7.1 + * Mon Jul 18 2016 Remi Collet - 1.2.2-0.2.20160715gita87a993 - refresh, newer snapshot -- cgit