summaryrefslogtreecommitdiffstats
path: root/php-pecl-mongodb2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-mongodb2.spec')
-rw-r--r--php-pecl-mongodb2.spec24
1 files changed, 15 insertions, 9 deletions
diff --git a/php-pecl-mongodb2.spec b/php-pecl-mongodb2.spec
index f8ccd4b..f2cc1c9 100644
--- a/php-pecl-mongodb2.spec
+++ b/php-pecl-mongodb2.spec
@@ -20,16 +20,16 @@
%bcond_with syslib
# Bundled versions
-%global bundled_libmongo 1.30.7
-%global bundled_libcrypt 1.12.0
+%global bundled_libmongo 2.2.2
+%global bundled_libcrypt 1.17.2
# Required versions (in config.m4)
-%global minimal_libmongo 1.30.7
-%global minimal_libcrypt 1.12.0
+%global minimal_libmongo 2.2.2
+%global minimal_libcrypt 1.17.2
%if %{with syslib}
# Build dependencies (in repository)
-%global system_libmongo 1.30
-%global system_libcrypt 1.12
+%global system_libmongo 2.2.2
+%global system_libcrypt 1.17.2
# Runtime dependencies
%global runtime_libmongo %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{system_libmongo})
%global runtime_libcrypt %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{system_libcrypt})
@@ -37,7 +37,7 @@
Summary: MongoDB driver for PHP version 2
Name: %{?scl_prefix}php-pecl-%{pecl_name}2
-%global upstream_version 2.1.8
+%global upstream_version 2.2.0
#global upstream_prever beta1
#global upstream_lower ~beta1
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
@@ -126,8 +126,9 @@ sed -e 's/role="test"/role="src"/' \
pushd %{sources}
# Check our macro values
-cat src/*_VERSION_CURRENT
-grep -q %{bundled_libmongo} src/LIBMONGOC_VERSION_CURRENT
+cat src/libmongoc/VERSION_CURRENT
+grep -q %{bundled_libmongo} src/libmongoc/VERSION_CURRENT
+cat src/LIBMONGOCRYPT_VERSION_CURRENT
grep -q %{bundled_libcrypt} src/LIBMONGOCRYPT_VERSION_CURRENT
grep CHECK_MODULES config.m4
@@ -264,6 +265,11 @@ OPT="-n"
%changelog
+* Wed Feb 11 2026 Remi Collet <remi@remirepo.net> - 2.2.0-1
+- update to 2.2.0
+- use bundled libbson and libmongc 2.2.2
+- use bundled libmongocrypt 1.12
+
* Thu Feb 5 2026 Remi Collet <remi@remirepo.net> - 2.1.8-1
- update to 2.1.8
- use bundled libbson and libmongc 1.30.7