summaryrefslogtreecommitdiffstats
path: root/php-pecl-mongodb2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-mongodb2.spec')
-rw-r--r--php-pecl-mongodb2.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-pecl-mongodb2.spec b/php-pecl-mongodb2.spec
index 626216b..d07ad8b 100644
--- a/php-pecl-mongodb2.spec
+++ b/php-pecl-mongodb2.spec
@@ -43,7 +43,7 @@ Name: %{?scl_prefix}php-pecl-%{pecl_name}2
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
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;')}}
%if %{with syslib}
License: Apache-2.0
%else
@@ -52,6 +52,8 @@ License: Apache-2.0 AND ISC AND MIT AND Zlib AND BSD-3-Clause
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
+Patch0: 1849.patch
+
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 8.1
@@ -121,6 +123,7 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
pushd %{sources}
+%patch -P0 -p1
# Check our macro values
cat src/*_VERSION_CURRENT
@@ -261,8 +264,12 @@ OPT="-n"
%changelog
+* Thu Jul 17 2025 Remi Collet <remi@remirepo.net> - 2.1.1-2
+- add fix for PHP 8.5.0alpha2 from
+ https://github.com/mongodb/mongo-php-driver/pull/1849
+
* Mon Jun 16 2025 Remi Collet <remi@remirepo.net> - 2.1.1-1
-- update to 2.1.1
+- update to 2.1.1 (no change)
- use bundled libbson and libmongc 1.30.5
* Mon May 26 2025 Remi Collet <remi@remirepo.net> - 2.1.0-1