[packages/php-pecl-mongodb] up to 1.3.1; still crashes on shutdown

glen glen at pld-linux.org
Sun Oct 29 18:35:30 CET 2017


commit 463d8c74a5c677b90ac8836a3453d49bbefee4d8
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Oct 29 19:27:47 2017 +0200

    up to 1.3.1; still crashes on shutdown
    
    docs say it requires php >= 5.5, but in reality it still builds with 5.4

 php-pecl-mongodb.spec | 10 ++++------
 tests.patch           | 21 ---------------------
 2 files changed, 4 insertions(+), 27 deletions(-)
---
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index db9f43c..e4caa99 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -11,14 +11,13 @@
 %define		modname	mongodb
 Summary:	MongoDB driver for PHP
 Name:		%{php_name}-pecl-%{modname}
-Version:	1.2.11
+Version:	1.3.1
 Release:	1
 License:	Apache v2.0
 Group:		Development/Languages/PHP
 Source0:	https://pecl.php.net/get/%{modname}-%{version}.tgz
-# Source0-md5:	c3b36a24b7e47e3b4148cd9bc4d163b2
+# Source0-md5:	eadf5eec8b9a59443b63ad49690dd73f
 Source1:	mongodb.ini
-Patch0:		tests.patch
 URL:		https://pecl.php.net/package/mongodb
 BuildRequires:	%{php_name}-cli
 BuildRequires:	%{php_name}-devel >= 4:5.4.0
@@ -26,8 +25,8 @@ BuildRequires:	%{php_name}-json
 BuildRequires:	%{php_name}-pcre
 BuildRequires:	%{php_name}-spl
 %{?with_sasl:BuildRequires:	cyrus-sasl-devel}
-BuildRequires:	libbson-devel >= 1.5.0
-BuildRequires:	mongo-c-driver-devel >= 1.5.0
+BuildRequires:	libbson-devel >= 1.8.0
+BuildRequires:	mongo-c-driver-devel >= 1.8.0
 BuildRequires:	openssl-devel
 BuildRequires:	rpmbuild(macros) >= 1.666
 Requires:	%{php_name}-json
@@ -47,7 +46,6 @@ MongoDB driver.
 %prep
 %setup -qc
 mv %{modname}-%{version}/* .
-%patch0 -p1
 
 # Ensure we use system library
 # remove only C sources, m4 resources needed for phpize via m4_include
diff --git a/tests.patch b/tests.patch
deleted file mode 100644
index 38c3542..0000000
--- a/tests.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- php70-pecl-mongodb-1.2.11/tests/manager/manager-ctor-read_preference-004.phpt	2017-10-17 20:40:05.082945968 +0300
-+++ php70-pecl-mongodb-1.2.11/tests/manager/manager-ctor-read_preference-004.phpt	2017-10-17 20:45:44.540046995 +0300
-@@ -22,7 +22,6 @@
-     // Alternative values for true in URI string (all other strings are false)
-     ['mongodb://127.0.0.1/?slaveok=t', []],
-     ['mongodb://127.0.0.1/?slaveok=1', []],
--    ['mongodb://127.0.0.1/?slaveok=anything_other_than_true_t_and_0', []],
-     // Case insensitivity for URI string and array options
-     ['mongodb://127.0.0.1/?slaveOk=True', []],
-     ['mongodb://127.0.0.1/?SLAVEOK=TRUE', []],
-@@ -101,10 +100,6 @@
- }
- object(MongoDB\Driver\ReadPreference)#%d (%d) {
-   ["mode"]=>
--  string(7) "primary"
--}
--object(MongoDB\Driver\ReadPreference)#%d (%d) {
--  ["mode"]=>
-   string(18) "secondaryPreferred"
- }
- object(MongoDB\Driver\ReadPreference)#%d (%d) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-mongodb.git/commitdiff/463d8c74a5c677b90ac8836a3453d49bbefee4d8



More information about the pld-cvs-commit mailing list