summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO11
-rw-r--r--REFLECTION4
-rw-r--r--php-pecl-mongodb.spec41
3 files changed, 31 insertions, 25 deletions
diff --git a/PHPINFO b/PHPINFO
index 06456a3..ce730c2 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,12 +2,10 @@
mongodb
MongoDB support => enabled
-MongoDB extension version => 1.21.0
+MongoDB extension version => 1.21.2
MongoDB extension stability => stable
-libbson headers version => 1.30.1
-libbson library version => 1.30.1
-libmongoc headers version => 1.30.1
-libmongoc library version => 1.30.1
+libbson bundled version => 1.30.6
+libmongoc bundled version => 1.30.6
libmongoc SSL => enabled
libmongoc SSL library => OpenSSL
libmongoc crypto => enabled
@@ -19,8 +17,7 @@ libmongoc compression => enabled
libmongoc compression snappy => enabled
libmongoc compression zlib => enabled
libmongoc compression zstd => enabled
-libmongocrypt headers version => 1.13.0
-libmongocrypt library version => 1.13.0
+libmongocrypt bundled version => 1.12.0
libmongocrypt crypto => enabled
libmongocrypt crypto library => libcrypto
crypt_shared library version => unknown
diff --git a/REFLECTION b/REFLECTION
index d604cf4..37dccea 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #128 mongodb version 1.21.0 ] {
+Extension [ <persistent> extension #140 mongodb version 1.21.2 ] {
- Dependencies {
Dependency [ date (Required) ]
@@ -14,7 +14,7 @@ Extension [ <persistent> extension #128 mongodb version 1.21.0 ] {
}
- Constants [2] {
- Constant [ string MONGODB_VERSION ] { 1.21.0 }
+ Constant [ string MONGODB_VERSION ] { 1.21.2 }
Constant [ string MONGODB_STABILITY ] { stable }
}
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index 894d8a2..f4e0b08 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -7,11 +7,7 @@
# Please, preserve the changelog entries
#
-%if 0%{?scl:1}
-%scl_package php-pecl-mongodb
-%else
-%global _root_prefix %{_prefix}
-%endif
+%{?scl:%scl_package php-pecl-mongodb}
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pie_vend mongodb
@@ -21,20 +17,16 @@
%global ini_name 50-%{pecl_name}.ini
# test suite requires a MongoDB server
-%bcond_with tests
+%bcond_with tests
-# temp for EL until available in EPEL
-%if 0%{?fedora} >= 37 || 0%{?rhel} >= 8
-%bcond_without syslib
-%else
+# always use bundled libraries
%bcond_with syslib
-%endif
# Bundled versions
-%global bundled_libmongo 1.30.1
+%global bundled_libmongo 1.30.6
%global bundled_libcrypt 1.12.0
# Required versions (in config.m4)
-%global minimal_libmongo 1.30.1
+%global minimal_libmongo 1.30.6
%global minimal_libcrypt 1.12.0
%if %{with syslib}
@@ -46,9 +38,9 @@
%global runtime_libcrypt %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{system_libcrypt})
%endif
-Summary: MongoDB driver for PHP
+Summary: MongoDB driver for PHP version 1
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-%global upstream_version 1.21.0
+%global upstream_version 1.21.2
#global upstream_prever beta1
#global upstream_lower ~beta1
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
@@ -100,8 +92,10 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api}
Requires: %{?scl_prefix}php-json%{?_isa}
# Don't provide php-mongodb which is the pure PHP library
+# PECL
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+# PIE
Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version}
Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version}
@@ -110,6 +104,9 @@ The purpose of this driver is to provide exceptionally thin glue between
MongoDB and PHP, implementing only fundemental and performance-critical
components necessary to build a fully-functional MongoDB driver.
+This package provides version 1 of the extension,
+php-pecl-mongodb2 provides version 2.
+
Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.
@@ -122,7 +119,6 @@ sed -e 's/role="test"/role="src"/' \
pushd %{sources}
-%if %{with syslib}
# Check our macro values
cat src/*_VERSION_CURRENT
grep -q %{bundled_libmongo} src/LIBMONGOC_VERSION_CURRENT
@@ -132,6 +128,7 @@ grep CHECK_MODULES config.m4
grep -q %{minimal_libmongo} config.m4
grep -q %{minimal_libcrypt} config.m4
+%if %{with syslib}
# temporary: lower minimal required versions
sed -e 's/%{minimal_libmongo}/%{system_libmongo}/;s/%{minimal_libcrypt}/%{system_libcrypt}/' -i config.m4
%endif
@@ -310,6 +307,18 @@ exit $ret
%changelog
+* Wed Oct 8 2025 Remi Collet <remi@remirepo.net> - 1.21.2-1
+- update to 1.21.2
+- use bundled libbson and libmongc 1.30.6
+
+* Mon Jun 16 2025 Remi Collet <remi@remirepo.net> - 1.21.1-1
+- update to 1.21.1 (no change)
+- use bundled libbson and libmongc 1.30.5
+
+* Thu Apr 10 2025 Remi Collet <remi@remirepo.net> - 1.21.0-2
+- rebuild using bundled libraries
+- add note in description about php-pecl-mongodb2
+
* Fri Feb 28 2025 Remi Collet <remi@remirepo.net> - 1.21.0-1
- update to 1.21.0
- raise dependency on PHP 8.1