diff options
author | Remi Collet <remi@remirepo.net> | 2025-02-28 15:13:50 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-02-28 15:13:50 +0100 |
commit | 5bca132b1dc1f8b64c2db87daf5cea984f6fb8b8 (patch) | |
tree | e8a9b8290f5686b06f7e209c14b9aa94b2077ff8 /php-mongodb-rpm.patch | |
parent | 6003bee8c621975143a7aeacbca93cb14322554c (diff) |
update to 1.21.0
re-license spec file to CECILL-2.1
raise dependency on mongodb extension version 1.21
Diffstat (limited to 'php-mongodb-rpm.patch')
-rw-r--r-- | php-mongodb-rpm.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/php-mongodb-rpm.patch b/php-mongodb-rpm.patch index b706e73..c200ba9 100644 --- a/php-mongodb-rpm.patch +++ b/php-mongodb-rpm.patch @@ -1,21 +1,21 @@ diff -up ./src/Client.php.rpm ./src/Client.php ---- ./src/Client.php.rpm 2024-03-28 07:31:35.800951756 +0100 -+++ ./src/Client.php 2024-03-28 07:33:06.605444491 +0100 +--- ./src/Client.php.rpm 2025-02-28 15:03:47.099826893 +0100 ++++ ./src/Client.php 2025-02-28 15:04:54.310620093 +0100 @@ -17,7 +17,6 @@ namespace MongoDB; -use Composer\InstalledVersions; use Iterator; - use MongoDB\Driver\ClientEncryption; - use MongoDB\Driver\Exception\InvalidArgumentException as DriverInvalidArgumentException; -@@ -395,11 +394,7 @@ class Client + use MongoDB\BSON\Document; + use MongoDB\BSON\PackedArray; +@@ -453,11 +452,7 @@ class Client private static function getVersion(): string { if (self::$version === null) { - try { - self::$version = InstalledVersions::getPrettyVersion('mongodb/mongodb') ?? 'unknown'; -- } catch (Throwable $t) { +- } catch (Throwable) { - self::$version = 'error'; - } + self::$version = '@VERSION@'; |