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.spec15
1 files changed, 12 insertions, 3 deletions
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index d9525b5..1195da0 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -34,17 +34,17 @@
%global with_syslib 1
%global libmongo 1.16.1
%global libmongover %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{libmongoc})
-%global libcrypt 1.0.3
+%global libcrypt 1.0.1
%global libcryptver %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{libcrypt})
%else
%global with_syslib 0
-%global libmongo 1.16.1
+%global libmongo 1.16.2
%global libcrypt 1.0.3
%endif
Summary: MongoDB driver for PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-%global upstream_version 1.7.2
+%global upstream_version 1.7.3
#global upstream_prever RC1
#global upstream_lower ~rc1
Version: %{upstream_version}%{?upstream_lower}
@@ -145,6 +145,11 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
+%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
+%endif
+
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_MONGODB_VERSION /{s/.* "//;s/".*$//;p}' phongo_version.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
@@ -336,6 +341,10 @@ exit $ret
%changelog
+* Tue Feb 25 2020 Remi Collet <remi@remirepo.net> - 1.7.3-1
+- update to 1.7.3 (no change)
+- with libbson and libmongoc 1.16.2
+
* Thu Feb 13 2020 Remi Collet <remi@remirepo.net> - 1.7.2-1
- update to 1.7.2 (no change)
- with libmongocrypt 1.0.3