From c0a3bd3b11268297c2214b89f0b8396c62aec557 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 9 Aug 2016 12:29:49 +0200 Subject: php-pecl-mongodb: minor tweaks --- php-pecl-mongodb-dev.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php-pecl-mongodb-dev.spec b/php-pecl-mongodb-dev.spec index 4baf1de..0b0032c 100644 --- a/php-pecl-mongodb-dev.spec +++ b/php-pecl-mongodb-dev.spec @@ -231,6 +231,7 @@ fi ret=0 %global mongo_version %(mongod --version | sed -n '/db version/{s/.*v//;p}' 2>/dev/null) +#global mongo_version 4 : Run a mongodb server version %{mongo_version} mkdir dbtest @@ -245,7 +246,7 @@ mongod \ if [ -s server.pid ] ; then : Drop known to fail tests -%if 1 +%if "%{mongo_version}" < "3.4" ### With mongodb 3.2 rm ?TS/tests/manager/manager-debug-001.phpt rm ?TS/tests/manager/manager-debug-003.phpt -- cgit