diff options
author | Remi Collet <remi@remirepo.net> | 2021-10-30 09:29:29 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2021-10-30 09:29:29 +0200 |
commit | b2267dff67e19c3c49d21ef5cc192f07fd79b01b (patch) | |
tree | 7fade5f5140145f5952e78f066878001cebaa656 | |
parent | 70d5f0533dbd0330146b119afb45f7d34dd2326f (diff) |
comments
-rw-r--r-- | php-pecl-mongodb.spec | 6 |
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 |