summaryrefslogtreecommitdiffstats
path: root/php-pecl-mongodb-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-08-09 12:29:49 +0200
committerRemi Collet <fedora@famillecollet.com>2016-08-09 12:29:49 +0200
commitc0a3bd3b11268297c2214b89f0b8396c62aec557 (patch)
treef372d9eb79c9590da29becd836d0ae91dc2bd0a5 /php-pecl-mongodb-dev.spec
parent21d78c0ede4f3637039eca0513e1bada76626ea8 (diff)
php-pecl-mongodb: minor tweaks
Diffstat (limited to 'php-pecl-mongodb-dev.spec')
-rw-r--r--php-pecl-mongodb-dev.spec3
1 files changed, 2 insertions, 1 deletions
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