From 771bb9f91d846f9b2f69a3321ba965800cf07a42 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 1 Sep 2012 12:18:39 +0200 Subject: php-redis, no test on ppc64 --- php-redis.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/php-redis.spec b/php-redis.spec index 2f1b9de..5b9faa7 100644 --- a/php-redis.spec +++ b/php-redis.spec @@ -3,8 +3,14 @@ %global gitver 5df5153 %global gitrel 29 %if 0%{?fedora} >= 16 || 0%{?rhel} >= 5 +%ifarch ppc64 +# redis have ExcludeArch: ppc64 +%global with_test 0 +%else %global with_test 1 +%endif %else +# redis version is too old %global with_test 0 %endif @@ -113,7 +119,7 @@ install -D -m 644 %{ext_name}.ini %{buildroot}%{php_ztsinidir}/%{ext_name}.ini %check # simple module load test ln -sf %{php_extdir}/igbinary.so nts/modules/igbinary.so -%{__php} --no-php-ini \ +php --no-php-ini \ --define extension_dir=nts/modules \ --define extension=igbinary.so \ --define extension=%{ext_name}.so \ -- cgit