summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-19 14:17:03 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-19 14:17:03 +0100
commit9100f2d49db4c2fc0a0c5eb0b64d6d23ad765c26 (patch)
tree89462d88a2ee7622830a3e08fa523476133bdd7f
parent971fb1206b55b37d00be089963e85820c9819618 (diff)
php-pecl-amqp: test suite don't need json anymore
-rw-r--r--php-pecl-amqp.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/php-pecl-amqp.spec b/php-pecl-amqp.spec
index acf06fe..60ae1ef 100644
--- a/php-pecl-amqp.spec
+++ b/php-pecl-amqp.spec
@@ -31,7 +31,6 @@ BuildRequires: %{?scl_prefix}php-devel > 5.2.0
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: librabbitmq-devel >= 0.4.1
%if %{with_tests}
-BuildRequires: %{?scl_prefix}php-json
BuildRequires: rabbitmq-server
%endif
@@ -192,7 +191,7 @@ ret=0
pushd NTS
: Run the upstream test Suite for NTS extension
TEST_PHP_EXECUTABLE=%{__php} \
-TEST_PHP_ARGS="-n -d extension=json.so -d extension=$PWD/modules/%{pecl_name}.so" \
+TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \
NO_INTERACTION=1 \
REPORT_EXIT_STATUS=1 \
%{__php} -n run-tests.php || ret=1
@@ -202,7 +201,7 @@ popd
pushd ZTS
: Run the upstream test Suite for ZTS extension
TEST_PHP_EXECUTABLE=%{__ztsphp} \
-TEST_PHP_ARGS="-n -d extension=json.so -d extension=$PWD/modules/%{pecl_name}.so" \
+TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \
NO_INTERACTION=1 \
REPORT_EXIT_STATUS=1 \
%{__ztsphp} -n run-tests.php || ret=1