summaryrefslogtreecommitdiffstats
path: root/php-pecl-mongodb.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-mongodb.spec')
-rw-r--r--php-pecl-mongodb.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index bace77e..13bd868 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -23,10 +23,10 @@
%bcond_with syslib
# Bundled versions
-%global bundled_libmongo 1.30.1
+%global bundled_libmongo 1.30.5
%global bundled_libcrypt 1.12.0
# Required versions (in config.m4)
-%global minimal_libmongo 1.30.1
+%global minimal_libmongo 1.30.5
%global minimal_libcrypt 1.12.0
%if %{with syslib}
@@ -40,13 +40,13 @@
Summary: MongoDB driver for PHP version 1
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-%global upstream_version 1.21.0
+%global upstream_version 1.21.1
#global upstream_prever beta1
#global upstream_lower ~beta1
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
Version: %{upstream_version}%{?upstream_lower}
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%if %{with syslib}
License: Apache-2.0
%else
@@ -117,7 +117,6 @@ sed -e 's/role="test"/role="src"/' \
pushd %{sources}
-%if %{with syslib}
# Check our macro values
cat src/*_VERSION_CURRENT
grep -q %{bundled_libmongo} src/LIBMONGOC_VERSION_CURRENT
@@ -127,6 +126,7 @@ grep CHECK_MODULES config.m4
grep -q %{minimal_libmongo} config.m4
grep -q %{minimal_libcrypt} config.m4
+%if %{with syslib}
# temporary: lower minimal required versions
sed -e 's/%{minimal_libmongo}/%{system_libmongo}/;s/%{minimal_libcrypt}/%{system_libcrypt}/' -i config.m4
%endif
@@ -305,6 +305,10 @@ exit $ret
%changelog
+* Mon Jun 16 2025 Remi Collet <remi@remirepo.net> - 1.21.1-1
+- update to 1.21.1
+- use bundled libbson and libmongc 1.30.5
+
* Thu Apr 10 2025 Remi Collet <remi@remirepo.net> - 1.21.0-2
- rebuild using bundled libraries
- add note in description about php-pecl-mongodb2