From e92efdab33725b47d981504c568ffb22f2fd1d4d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 30 Apr 2026 16:55:52 +0200 Subject: update to 2.3.1 open https://jira.mongodb.org/browse/PHPC-2715 out-of-sources-tree builds use patch from https://github.com/mongodb/mongo-php-driver/pull/2007 --- php-pecl-mongodb2.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'php-pecl-mongodb2.spec') diff --git a/php-pecl-mongodb2.spec b/php-pecl-mongodb2.spec index a987cec..97de169 100644 --- a/php-pecl-mongodb2.spec +++ b/php-pecl-mongodb2.spec @@ -35,7 +35,7 @@ %global runtime_libcrypt %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{system_libcrypt}) %endif -%global upstream_version 2.3.0 +%global upstream_version 2.3.1 #global upstream_prever beta1 #global upstream_lower ~beta1 %global sources %{gh_proj}-%{upstream_version}%{?upstream_prever} @@ -62,6 +62,8 @@ Source0: %{sources}.tgz # get git snapshot with submodules Source1: makesrc.sh +Patch0: 2007.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 8.1 @@ -130,6 +132,8 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %setup -q -c pushd %{sources} +%patch -P0 -p1 + # Check our macro values cat src/libmongoc/VERSION_CURRENT grep -q %{bundled_libmongo} src/libmongoc/VERSION_CURRENT @@ -264,6 +268,11 @@ OPT="-n" %changelog +* Thu Apr 30 2026 Remi Collet - 2.3.1-1 +- update to 2.3.1 +- open https://jira.mongodb.org/browse/PHPC-2715 out-of-sources-tree builds +- use patch from https://github.com/mongodb/mongo-php-driver/pull/2007 + * Tue Apr 28 2026 Remi Collet - 2.3.0-1 - update to 2.3.0 - use bundled libbson and libmongc 2.3.0 -- cgit