diff options
| author | Remi Collet <fedora@famillecollet.com> | 2012-09-01 12:18:39 +0200 | 
|---|---|---|
| committer | Remi Collet <fedora@famillecollet.com> | 2012-09-01 12:18:39 +0200 | 
| commit | 771bb9f91d846f9b2f69a3321ba965800cf07a42 (patch) | |
| tree | 2b034a44dbeecc685227203be99f9c7d651e654b | |
| parent | 0ab1eba0c6fe0fd9bfcce5660c1ae1877fd85e50 (diff) | |
php-redis, no test on ppc64
| -rw-r--r-- | php-redis.spec | 8 | 
1 files changed, 7 insertions, 1 deletions
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 \  | 
