From 9100f2d49db4c2fc0a0c5eb0b64d6d23ad765c26 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Mar 2014 14:17:03 +0100 Subject: php-pecl-amqp: test suite don't need json anymore --- php-pecl-amqp.spec | 5 ++--- 1 file 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 -- cgit