summaryrefslogtreecommitdiffstats
path: root/php-pecl-apc-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-03-25 08:53:43 +0100
committerRemi Collet <fedora@famillecollet.com>2013-03-25 08:53:43 +0100
commit7ac62f8160270dd80950115c8da8650c3dffa766 (patch)
tree341ab4b8fdf711a347016ba3fb9627ef1d48f589 /php-pecl-apc-dev.spec
parente723265d0bee47381b86d6be747c7ba6052bfde0 (diff)
APC/APCu: simpler solution for port number used in test suite (upstream)
Diffstat (limited to 'php-pecl-apc-dev.spec')
-rw-r--r--php-pecl-apc-dev.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/php-pecl-apc-dev.spec b/php-pecl-apc-dev.spec
index 3d39df2..b4fadf2 100644
--- a/php-pecl-apc-dev.spec
+++ b/php-pecl-apc-dev.spec
@@ -90,12 +90,8 @@ grep date package.xml
cd APC-%{version}
-%if 0%{?__isa_bits}
-# port number to allow 32/64 build at same time
-port=$(expr %{__isa_bits} + 8900)
-sed -e "/PHP_CLI_SERVER_PORT/s/8964/$port/" \
+sed -e "/PHP_CLI_SERVER_PORT/s/8964/8960+PHP_INT_SIZE/" \
-i tests/server_test.inc
-%endif
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_APC_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h)