From ba223f91d844d1c1bb09b4880e6ff695d0284fe5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 1 Feb 2022 07:21:49 +0100 Subject: update to 5.10.0 raise minimal PHP version to 7.4 --- PHPINFO | 2 +- REFLECTION | 2 +- php-sqlsrv.spec | 14 ++++++++------ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/PHPINFO b/PHPINFO index 9aace5c..b637dd0 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ sqlsrv sqlsrv support => enabled -ExtensionVer => 5.10.0-beta2 +ExtensionVer => 5.10.0 Directive => Local Value => Master Value sqlsrv.WarningsReturnAsErrors => On => On diff --git a/REFLECTION b/REFLECTION index cf804bc..50b8c97 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #119 sqlsrv version 5.10.0-beta2 ] { +Extension [ extension #120 sqlsrv version 5.10.0 ] { - INI { Entry [ sqlsrv.WarningsReturnAsErrors ] diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec index 4399086..95a75af 100644 --- a/php-sqlsrv.spec +++ b/php-sqlsrv.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-sqlsrv # -# Copyright (c) 2016-2021 Remi Collet +# Copyright (c) 2016-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -25,8 +25,8 @@ Name: %{?scl_prefix}php-sqlsrv Summary: Microsoft Drivers for PHP for SQL Server -%global tarversion 5.10.0beta2 -Version: 5.10.0~beta2 +%global tarversion 5.10.0 +Version: 5.10.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT @@ -40,7 +40,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit} BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?dtsprefix}gcc-c++ -BuildRequires: %{?scl_prefix}php-devel >= 7.3 +BuildRequires: %{?scl_prefix}php-devel >= 7.4 BuildRequires: %{?scl_prefix}php-pdo BuildRequires: %{?scl_prefix}php-pear BuildRequires: msodbcsql17 >= %{msodbcsqlver} @@ -66,9 +66,7 @@ Provides: %{?scl_prefix}php-pecl(pdo_%{extname})%{_isa} = %{version} %if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -%if "%{php_version}" > "7.4" Obsoletes: php74-sqlsrv <= %{version} -%endif %if "%{php_version}" > "8.0" Obsoletes: php80-sqlsrv <= %{version} Obsoletes: php80-pecl-sqlsrv <= %{version} @@ -280,6 +278,10 @@ fi %changelog +* Tue Feb 1 2022 Remi Collet - 5.10.0-1 +- update to 5.10.0 +- raise minimal PHP version to 7.4 + * Fri Dec 3 2021 Remi Collet - 5.10.0~beta2-1 - update to 5.10.0beta2 -- cgit