public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php-pecl-mongodb2] f45: update to 2.4.0
Date: Tue, 25 Aug 2026 06:55:06 GMT [thread overview]
Message-ID: <178764090687.1.5890977546650316078.rpms-php-pecl-mongodb2-571209eaaff3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php-pecl-mongodb2
Branch : f45
Commit : 571209eaaff35e6407db20df227ba28216fce387
Author : Remi Collet <remi@fedoraproject.org>
Date : 2026-08-25T08:54:28+02:00
Stats : +27/-7 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/php-pecl-mongodb2/c/571209eaaff35e6407db20df227ba28216fce387?branch=f45
Log:
update to 2.4.0
raise dependency on libmongoc 2.4.0 and libmongocrypt 1.20.0
run upstream test suite without server
---
diff --git a/.gitignore b/.gitignore
index b6c521f..0788a51 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
clog
/mongo-php-driver-2.3.3.tar.gz
+/mongo-php-driver-2.4.0.tar.gz
diff --git a/php-pecl-mongodb2.spec b/php-pecl-mongodb2.spec
index 77d3a93..4f43a90 100644
--- a/php-pecl-mongodb2.spec
+++ b/php-pecl-mongodb2.spec
@@ -10,23 +10,25 @@
# Please, preserve the changelog entries
#
+%bcond_without tests
+
%global pecl_name mongodb
%global pie_vend mongodb
%global pie_proj mongodb-extension
# After 40-smbclient.ini, see https://jira.mongodb.org/browse/PHPC-658
%global ini_name 50-%{pecl_name}.ini
-%global upstream_version 2.3.3
+%global upstream_version 2.4.0
#global upstream_prever RC1
#global upstream_lower ~rc1
# Required versions from config.m4
-%global minimal_libmongo 2.3.0
-%global minimal_libcrypt 1.17.3
+%global minimal_libmongo 2.4.0
+%global minimal_libcrypt 1.20.0
# Build dependencies
-%global system_libmongo 2.3.0
-%global system_libcrypt 1.17.3
+%global system_libmongo 2.4.0
+%global system_libcrypt 1.20.0
# Github forge
%global gh_vend mongodb
@@ -38,7 +40,7 @@ Name: php-pecl-%{pecl_name}2
Summary: MongoDB driver for PHP version 2
License: Apache-2.0
Version: %{upstream_version}%{?upstream_lower}
-Release: 2%{?dist}
+Release: 1%{?dist}
%forgemeta
URL: %{forgeurl}
Source0: %{forgesource}
@@ -138,6 +140,18 @@ OPT="-n"
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
--modules | grep '^%{pecl_name}$'
+%if %{with tests}
+: Upstream test suite for NTS extension
+# known failures
+rm tests/logging/logging-addSubscriber-004.phpt
+rm tests/manager/manager-ctor-server.phpt
+rm tests/bson/bson-int64-operation-002.phpt
+
+# tests requiring a server will be skipped
+TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \
+%{__php} -n run-tests.php -q --show-diff %{?_smp_mflags}
+%endif
+
%files
%license LICENSE
@@ -151,6 +165,11 @@ OPT="-n"
%changelog
+* Tue Aug 25 2026 Remi Collet <remi@remirepo.net> - 2.4.0-1
+- update to 2.4.0
+- raise dependency on libmongoc 2.4.0 and libmongocrypt 1.20.0
+- run upstream test suite without server
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 67005f4..63f3326 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mongo-php-driver-2.3.3.tar.gz) = 6033c194dc9a56cb811086947aea15a869e43b513bd0fd281d90196e57161c91195ed66b9c1e66a935a706324efb441e602e9ccd2ba22cc30dd8035cee7f93b6
+SHA512 (mongo-php-driver-2.4.0.tar.gz) = 31b12e2533cf0eb2c997b3da976fc5421e14073ee3399583db2d99de3e884cb9fe230234f5b07f7b7511c8c4b43ecac4a95450eebc1afd3deee4b8fcbd56ffbf
reply other threads:[~2026-08-25 6:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178764090687.1.5890977546650316078.rpms-php-pecl-mongodb2-571209eaaff3@fedoraproject.org \
--to=remi@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox