diff options
author | Remi Collet <remi@remirepo.net> | 2022-03-24 07:34:52 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-03-24 07:34:52 +0100 |
commit | 8449199e5772072f7dafc6b7d2832e5a761ba1e2 (patch) | |
tree | b11eca88686c9a24b6c5c598bd9dfb5df8623a56 /php-pecl-mongodb.spec | |
parent | dcfbca398032e9639e65996bcc718331aa8c7c6f (diff) |
update to 1.13.0
with libbson and libmongoc 1.21.1 and libmongocrypt 1.3.2
Diffstat (limited to 'php-pecl-mongodb.spec')
-rw-r--r-- | php-pecl-mongodb.spec | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec index e3ca50d..caf3540 100644 --- a/php-pecl-mongodb.spec +++ b/php-pecl-mongodb.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-mongodb # -# Copyright (c) 2015-2021 Remi Collet +# Copyright (c) 2015-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -34,20 +34,20 @@ %if %{with syslib} # Build dependency -%global libmongo 1.20.0 -%global libcrypt 1.3.0 +%global libmongo 1.21 +%global libcrypt 1.3 # Runtime dependency %global libmongover %(pkg-config --silence-errors --modversion libmongoc-1.0 2>/dev/null || echo %{libmongo}) %global libcryptver %(pkg-config --silence-errors --modversion libmongocrypt 2>/dev/null || echo %{libcrypt}) %else # Bundled versions -%global libmongo 1.20.1 -%global libcrypt 1.3.0 +%global libmongo 1.21.1 +%global libcrypt 1.3.2 %endif Summary: MongoDB driver for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} -%global upstream_version 1.12.1 +%global upstream_version 1.13.0 #global upstream_prever alpha1 #global upstream_lower ~alpha1 Version: %{upstream_version}%{?upstream_lower} @@ -140,13 +140,13 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -%if 0%{?rhel} == 8 +%if %{with syslib} # temporary: lower minimal required version -sed -e 's/1.20.1/1.20.0/;s/1.3.0/1.3.0/' -i config.m4 +sed -e 's/1.21.1/%{libmongo}/;s/1.3.2/%{libcrypt}/' -i config.m4 %endif # Sanity check, really often broken -extver=$(sed -n '/#define PHP_MONGODB_VERSION /{s/.* "//;s/".*$//;p}' phongo_version.h) +extver=$(sed -n '/#define PHP_MONGODB_VERSION /{s/.* "//;s/".*$//;p}' src/phongo_version.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}. exit 1 @@ -329,6 +329,10 @@ exit $ret %changelog +* Thu Mar 24 2022 Remi Collet <remi@remirepo.net> - 1.13.0-1 +- update to 1.13.0 +- with libbson and libmongoc 1.21.1 and libmongocrypt 1.3.2 + * Wed Feb 23 2022 Remi Collet <remi@remirepo.net> - 1.12.1-1 - update to 1.12.1 (no change) - with libbson and libmongoc 1.20.1 |