diff options
| author | Remi Collet <fedora@famillecollet.com> | 2016-07-23 13:59:20 +0200 | 
|---|---|---|
| committer | Remi Collet <fedora@famillecollet.com> | 2016-07-23 13:59:20 +0200 | 
| commit | 3d6de2d8d5b195c82615208a2769aabc2e545ced (patch) | |
| tree | d043070a71c164e5e56131f2b07eaf1cc791ad53 | |
| parent | e8c40a08774cbf44c2615e48133ba29f7fd6f1da (diff) | |
php-pecl-igbinary: ignore 1 test with PHP 7.1
| -rw-r--r-- | php-pecl-igbinary-dev.spec | 10 | 
1 files changed, 9 insertions, 1 deletions
| 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 <remi@fedoraproject.org> - 1.2.2-0.3.20160715gita87a993 +- ignore 1 test with 7.1 +  * Mon Jul 18 2016 Remi Collet <remi@fedoraproject.org> - 1.2.2-0.2.20160715gita87a993  - refresh, newer snapshot | 
