summaryrefslogtreecommitdiffstats
path: root/php-pecl-mongodb2.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-30 16:55:52 +0200
committerRemi Collet <remi@php.net>2026-04-30 16:55:52 +0200
commite92efdab33725b47d981504c568ffb22f2fd1d4d (patch)
treec1dfb6b396449feddceb13b3fe2223ecb77981e5 /php-pecl-mongodb2.spec
parentc1d23fbb66385625684d85848a2ebd66d9bc300c (diff)
update to 2.3.1HEADmaster
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
Diffstat (limited to 'php-pecl-mongodb2.spec')
-rw-r--r--php-pecl-mongodb2.spec11
1 files changed, 10 insertions, 1 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 2.3.0-1
- update to 2.3.0
- use bundled libbson and libmongc 2.3.0