From 383f46afe55fc034a2073181c84395a1a2b1ef0f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Jun 2019 08:44:20 +0200 Subject: - update to 1.6.0alpha2 - with libbson and libmongoc 1.14.0 --- php-pecl-mongodb.spec | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'php-pecl-mongodb.spec') diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec index 2994aca..107d84c 100644 --- a/php-pecl-mongodb.spec +++ b/php-pecl-mongodb.spec @@ -29,21 +29,22 @@ # test suite requires a MongoDB server %global with_tests 0%{?_with_tests:1} +# F30 for fedora repo, F27 for remi %if 0%{?fedora} >= 27 || 0%{?rhel} >= 9 %global with_syslib 1 -%global libver 1.13 +%global libver 1.14 %else %global with_syslib 0 -%global libver 1.13.0 +%global libver 1.14.0 %endif Summary: MongoDB driver for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} %global upstream_version 1.6.0 -%global upstream_prever alpha1 -%global upstream_lower ~alpha1 +%global upstream_prever alpha2 +%global upstream_lower ~alpha2 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;')}} License: ASL 2.0 URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -101,9 +102,13 @@ Obsoletes: php72u-pecl-%{pecl_name} <= %{version} Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.3" -Obsoletes: php73u-pecl-%{pecl_name} <= %{version} +Obsoletes: php73-pecl-%{pecl_name} <= %{version} Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.4" +Obsoletes: php74-pecl-%{pecl_name} <= %{version} +Obsoletes: php74w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -321,6 +326,10 @@ exit $ret %changelog +* Tue Jun 4 2019 Remi Collet - 1.6.0~alpha2-1 +- update to 1.6.0alpha2 +- with libbson and libmongoc 1.14.0 + * Thu Mar 7 2019 Remi Collet - 1.6.0~alpha1-2 - rebuild with libicu62 -- cgit