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] epel10: update to 2.4.0
Date: Tue, 25 Aug 2026 06:56:43 GMT	[thread overview]
Message-ID: <178764100339.1.6526400824504026099.rpms-php-pecl-mongodb2-0e0e92ffee2b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/php-pecl-mongodb2
            Branch : epel10
            Commit : 0e0e92ffee2b60c4eff8ae6ba08079ec36e3fbd4
            Author : Remi Collet <remi@fedoraproject.org>
            Date   : 2026-08-25T08:56:33+02:00
            Stats  : +28/-8 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/php-pecl-mongodb2/c/0e0e92ffee2b60c4eff8ae6ba08079ec36e3fbd4?branch=epel10

            Log:
            update to 2.4.0

raise dependency on libmongoc 2.4.0 and libmongocrypt 1.20.0
run upstream test suite without server

(cherry picked from commit 571209eaaff35e6407db20df227ba28216fce387)

---
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 1a00b5a..8bf6a37 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}
@@ -47,7 +49,7 @@ ExcludeArch:    %{ix86}
 
 BuildRequires:  gcc
 # Ensure default PHP 8.3 on EPEL-10
-BuildRequires:(php-devel >= 8.3 with php-devel < 8.4)
+BuildRequires: (php-devel >= 8.3 with php-devel < 8.4)
 BuildRequires:  php-json
 BuildRequires:  pkgconfig(bson2)          >= %{system_libmongo}
 BuildRequires:  pkgconfig(mongoc2)        >= %{system_libmongo}
@@ -139,6 +141,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
@@ -152,6 +166,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
+
 * Tue Jun 16 2026 Remi Collet <remi@remirepo.net> - 2.3.3-2
 - rebuild with default php 8.3 #2488949
 

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:56 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=178764100339.1.6526400824504026099.rpms-php-pecl-mongodb2-0e0e92ffee2b@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