From ce079e51a855d2eebd532a2510af019c52a1c059 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 27 Jul 2022 08:20:33 +0200 Subject: build with system libraries --- PHPINFO | 9 ++++++--- REFLECTION | 2 +- php-pecl-mongodb.spec | 9 ++++++--- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/PHPINFO b/PHPINFO index c6e1a89..5d52726 100644 --- a/PHPINFO +++ b/PHPINFO @@ -4,8 +4,10 @@ mongodb MongoDB support => enabled MongoDB extension version => 1.14.0 MongoDB extension stability => stable -libbson bundled version => 1.22.0 -libmongoc bundled version => 1.22.0 +libbson headers version => 1.22.0 +libbson library version => 1.22.0 +libmongoc headers version => 1.22.0 +libmongoc library version => 1.22.0 libmongoc SSL => enabled libmongoc SSL library => OpenSSL libmongoc crypto => enabled @@ -17,7 +19,8 @@ libmongoc compression => enabled libmongoc compression snappy => enabled libmongoc compression zlib => enabled libmongoc compression zstd => enabled -libmongocrypt bundled version => 1.5.0 +libmongocrypt headers version => 1.5.1 +libmongocrypt library version => 1.5.1 libmongocrypt crypto => enabled libmongocrypt crypto library => libcrypto diff --git a/REFLECTION b/REFLECTION index 7ef63ec..5a5cca2 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #112 mongodb version 1.14.0 ] { +Extension [ extension #113 mongodb version 1.14.0 ] { - Dependencies { Dependency [ date (Required) ] diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec index f930e06..c7af6d3 100644 --- a/php-pecl-mongodb.spec +++ b/php-pecl-mongodb.spec @@ -25,8 +25,8 @@ # test suite requires a MongoDB server %bcond_with tests -# temp for EL-8 until available in EPEL -%if 0%{?fedora} >= 99 || 0%{?rhel} >= 99 +# temp for EL until available in EPEL +%if 0%{?fedora} >= 34 || 0%{?rhel} >= 8 %bcond_without syslib %else %bcond_with syslib @@ -51,7 +51,7 @@ Name: %{?sub_prefix}php-pecl-%{pecl_name} #global upstream_prever beta1 #global upstream_lower ~beta1 Version: %{upstream_version}%{?upstream_lower} -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -329,6 +329,9 @@ exit $ret %changelog +* Wed Jul 27 2022 Remi Collet - 1.14.0-2 +- build with system libraries + * Mon Jul 18 2022 Remi Collet - 1.14.0-1 - update to 1.14.0 - use bundled libmongocrypt 1.5.0 -- cgit