diff options
author | Remi Collet <remi@remirepo.net> | 2025-05-26 07:38:17 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-05-26 07:38:17 +0200 |
commit | 2e4f4d4aae3ab1399823de6a82496bcb5f11d206 (patch) | |
tree | 2b4a15878c4a7ae049a7575edd50f4f82e72ad7f /php-pecl-mongodb2.spec | |
parent | 408c79296116c8d49fb9cd2fa84de9c50c34e114 (diff) |
Diffstat (limited to 'php-pecl-mongodb2.spec')
-rw-r--r-- | php-pecl-mongodb2.spec | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/php-pecl-mongodb2.spec b/php-pecl-mongodb2.spec index 87d4eb0..7a605e4 100644 --- a/php-pecl-mongodb2.spec +++ b/php-pecl-mongodb2.spec @@ -20,10 +20,10 @@ %bcond_with syslib # Bundled versions -%global bundled_libmongo 1.30.3 +%global bundled_libmongo 1.30.4 %global bundled_libcrypt 1.12.0 # Required versions (in config.m4) -%global minimal_libmongo 1.30.3 +%global minimal_libmongo 1.30.4 %global minimal_libcrypt 1.12.0 %if %{with syslib} @@ -37,7 +37,7 @@ Summary: MongoDB driver for PHP version 2 Name: %{?scl_prefix}php-pecl-%{pecl_name}2 -%global upstream_version 2.0.0 +%global upstream_version 2.1.0 #global upstream_prever beta1 #global upstream_lower ~beta1 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} @@ -85,19 +85,21 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} Requires: %{?scl_prefix}php-json%{?_isa} -# Don't provide php-mongodb which is the pure PHP library Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version} %if 0%{?fedora} >= 43 || 0%{?rhel} >= 11 || "%{php_version}" > "8.5" -Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name} < 2 -Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} -Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} +Obsoletes: %{?scl_prefix}php-%{pecl_name} < 2 +Provides: %{?scl_prefix}php-%{pecl_name} = %{version} +Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} +Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name} < 2 +Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} +Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} %else # A single version can be installed -Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 2 +Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 2 %endif %description @@ -105,6 +107,9 @@ The purpose of this driver is to provide exceptionally thin glue between MongoDB and PHP, implementing only fundemental and performance-critical components necessary to build a fully-functional MongoDB driver. +php-pecl-mongodb provides version 1 of the extension, +this package provides version 2. + Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. @@ -256,6 +261,9 @@ OPT="-n" %changelog +* Mon May 26 2025 Remi Collet <remi@remirepo.net> - 2.1.0-1 +- update to 2.1.0 + * Thu Apr 10 2025 Remi Collet <remi@remirepo.net> - 2.0.0-1 - update to 2.0.0 - rename to php-pecl-mongodb2 for new API |