summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-mongodb.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index ea29d81..9a657e4 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -33,12 +33,14 @@
%endif
%if %{with syslib}
+# Build dependency
%global libmongo 1.19.1
-#global libmongover #{libmongo}
-%global libmongover %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{libmongo})
%global libcrypt 1.2.1
+# Runtime dependency
+%global libmongover %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{libmongo})
%global libcryptver %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{libcrypt})
%else
+# Bundled versions
%global libmongo 1.19.1
%global libcrypt 1.2.1
%endif