From f97eb541f9098b5d0415045e0ed3d84600f9c0b5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 7 Mar 2023 08:21:10 +0100 Subject: update to 5.11.0beta1 drop support for PHP 7 --- PHPINFO | 2 +- REFLECTION | 2 +- php-sqlsrv.spec | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/PHPINFO b/PHPINFO index 3af6685..7faf03d 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ sqlsrv sqlsrv support => enabled -ExtensionVer => 5.11.0-beta1 +ExtensionVer => 5.11.0 Directive => Local Value => Master Value sqlsrv.WarningsReturnAsErrors => On => On diff --git a/REFLECTION b/REFLECTION index 236ffb5..d2d1f33 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #120 sqlsrv version 5.11.0-beta1 ] { +Extension [ extension #122 sqlsrv version 5.11.0 ] { - INI { Entry [ sqlsrv.WarningsReturnAsErrors ] diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec index 83f00db..39f4c0a 100644 --- a/php-sqlsrv.spec +++ b/php-sqlsrv.spec @@ -26,8 +26,8 @@ Name: %{?scl_prefix}php-sqlsrv Summary: Microsoft Drivers for PHP for SQL Server -%global tarversion 5.11.0beta1 -Version: 5.11.0~beta1 +%global tarversion 5.11.0 +Version: 5.11.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT @@ -42,7 +42,8 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit} BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?dtsprefix}gcc-c++ -BuildRequires: %{?scl_prefix}php-devel >= 7.3 +BuildRequires: libtool-ltdl-devel +BuildRequires: %{?scl_prefix}php-devel >= 8.0 BuildRequires: %{?scl_prefix}php-pdo BuildRequires: %{?scl_prefix}php-pear BuildRequires: unixODBC-devel >= 2.3.1 @@ -269,6 +270,7 @@ fi %changelog * Fri Jan 27 2023 Remi Collet - 5.11.0~beta1-1 - update to 5.11.0beta1 +- drop support for PHP 7 * Tue Aug 9 2022 Remi Collet - 5.10.1-2 - allow msodbcsql18 -- cgit