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.spec23
1 files changed, 12 insertions, 11 deletions
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index 43a00ec..c082271 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -33,29 +33,27 @@
%endif
%if %{with syslib}
-%global libmongo 1.18.0
+%global libmongo 1.19.0
#global libmongover #{libmongo}
%global libmongover %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{libmongo})
%global libcrypt 1.2.1
%global libcryptver %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{libcrypt})
%else
-%global libmongo 1.18.0
+%global libmongo 1.19.0
%global libcrypt 1.2.1
%endif
Summary: MongoDB driver for PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-%global upstream_version 1.10.0
-#global upstream_prever alpha1
-#global upstream_lower ~alpha1
+%global upstream_version 1.11.0
+%global upstream_prever alpha1
+%global upstream_lower ~alpha1
Version: %{upstream_version}%{?upstream_lower}
-Release: 4%{?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;')}}
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
-Patch0: %{pecl_name}-php81.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7.1
@@ -148,11 +146,9 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1 -b .php81
-
%if 0%{?rhel} == 8
# temporary: lower minimal required version
-sed -e 's/1.16.2/1.16.1/;s/1.0.3/1.0.1/' -i config.m4
+# sed -e 's/1.16.2/1.16.1/;s/1.0.3/1.0.1/' -i config.m4
%endif
# Sanity check, really often broken
@@ -342,6 +338,11 @@ exit $ret
%changelog
+* Tue Sep 14 2021 Remi Collet <remi@remirepo.net> - 1.11.0~alpha1-1
+- update to 1.11.0alpha1
+- with libbson and libmongoc 1.19.0
+- drop patch merged upstream
+
* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 1.10.0-4
- rebuild for 8.1.0RC1