From: Elan Ruusamäe Date: Tue, 22 Nov 2016 20:31:14 +0000 (+0200) Subject: drop tests/040*.phpt X-Git-Tag: auto/th/php-pecl-msgpack-2.0.1-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=69958554897d70f745ab9fc6f971bac4c640935b;p=packages%2Fphp-pecl-msgpack.git drop tests/040*.phpt tries to allocate 4GiB+ memory which fails on 32bit platforms https://github.com/msgpack/msgpack-php/issues/110 --- diff --git a/php-pecl-msgpack.spec b/php-pecl-msgpack.spec index 0799366..78668fe 100644 --- a/php-pecl-msgpack.spec +++ b/php-pecl-msgpack.spec @@ -41,6 +41,11 @@ JSON. But unlike JSON, it is very fast and small. mv %{modname}-%{version}/* . %patch0 -p1 +# https://github.com/msgpack/msgpack-php/issues/110 +%ifarch %{ix86} +rm tests/040*.phpt +%endif + %build phpize %configure