diff options
| -rw-r--r-- | PHPINFO | 10 | ||||
| -rw-r--r-- | REFLECTION | 4 | ||||
| -rw-r--r-- | php-pecl-mongodb.spec | 29 | 
3 files changed, 27 insertions, 16 deletions
@@ -2,12 +2,12 @@  mongodb  MongoDB support => enabled -MongoDB extension version => 1.6.0alpha2 +MongoDB extension version => 1.6.0alpha3  MongoDB extension stability => alpha -libbson headers version => 1.14.0 -libbson library version => 1.14.0 -libmongoc headers version => 1.14.0 -libmongoc library version => 1.14.0 +libbson headers version => 1.15.0 +libbson library version => 1.15.0 +libmongoc headers version => 1.15.0 +libmongoc library version => 1.15.0  libmongoc SSL => enabled  libmongoc SSL library => OpenSSL  libmongoc crypto => enabled @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #197 mongodb version 1.6.0alpha2 ] { +Extension [ <persistent> extension #194 mongodb version 1.6.0alpha3 ] {    - Dependencies {      Dependency [ date (Required) ] @@ -14,7 +14,7 @@ Extension [ <persistent> extension #197 mongodb version 1.6.0alpha2 ] {    }    - Constants [2] { -    Constant [ string MONGODB_VERSION ] { 1.6.0alpha2 } +    Constant [ string MONGODB_VERSION ] { 1.6.0alpha3 }      Constant [ string MONGODB_STABILITY ] { alpha }    } diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec index 107d84c..feec9c6 100644 --- a/php-pecl-mongodb.spec +++ b/php-pecl-mongodb.spec @@ -29,20 +29,21 @@  # test suite requires a MongoDB server  %global with_tests   0%{?_with_tests:1} -# F30 for fedora repo, F27 for remi -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 9 +# F30 for fedora repo, F28 for remi +%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8  %global with_syslib 1 -%global libver      1.14 +%global libver      1.15 +%global libbuildver %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{libver})  %else  %global with_syslib 0 -%global libver      1.14.0 +%global libver      1.15.0  %endif  Summary:        MongoDB driver for PHP  Name:           %{?sub_prefix}php-pecl-%{pecl_name}  %global upstream_version 1.6.0 -%global upstream_prever  alpha2 -%global upstream_lower   ~alpha2 +%global upstream_prever  alpha3 +%global upstream_lower   ~alpha3  Version:        %{upstream_version}%{?upstream_lower}  Release:        1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  License:        ASL 2.0 @@ -50,12 +51,13 @@ URL:            http://pecl.php.net/package/%{pecl_name}  Source0:        http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz  BuildRequires:  %{?dtsprefix}gcc -BuildRequires:  %{?scl_prefix}php-devel > 5.5 +BuildRequires:  %{?scl_prefix}php-devel > 5.6  BuildRequires:  %{?scl_prefix}php-pear  BuildRequires:  %{?scl_prefix}php-json  %if %{with_syslib} -BuildRequires:  pkgconfig(libbson-1.0)    >= %{libver} -BuildRequires:  pkgconfig(libmongoc-1.0)  >= %{libver} +BuildRequires:  pkgconfig(libbson-1.0)      >= %{libver} +BuildRequires:  pkgconfig(libmongoc-1.0)    >= %{libver} +Requires:       mongo-c-driver-libs%{?_isa} >= %{libbuildver}  %else  BuildRequires:  cyrus-sasl-devel  BuildRequires:  openssl-devel @@ -326,6 +328,15 @@ exit $ret  %changelog +* Thu Aug 22 2019 Remi Collet <remi@remirepo.net> - 1.6.0~alpha3-1 +- update to 1.6.0alpha3 +- with libbson and libmongoc 1.15.0 +- ensure proper library version is required +- raise minimal PHP version to 5.6 + +* Tue Jul 23 2019 Remi Collet <remi@remirepo.net> - 1.6.0~alpha2-2 +- rebuild for 7.4.0beta1 +  * Tue Jun  4 2019 Remi Collet <remi@remirepo.net> - 1.6.0~alpha2-1  - update to 1.6.0alpha2  - with libbson and libmongoc 1.14.0  | 
