From cd261946abdfb5b94f7c7a27ee16fd5d86a8b041 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 7 Mar 2017 07:39:31 +0100 Subject: php-sqlsrv: 4.1.7preview --- REFLECTION | 16 ++++++++-------- php-sqlsrv.spec | 21 ++++++++++++--------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/REFLECTION b/REFLECTION index 67372c7..db3bca8 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #125 sqlsrv version 4.1.6.1 ] { +Extension [ extension #125 sqlsrv version 4.1.7-preview ] { - INI { Entry [ sqlsrv.WarningsReturnAsErrors ] @@ -124,7 +124,7 @@ Extension [ extension #125 sqlsrv version 4.1.6.1 ] { Parameter #0 [ $conn ] } } - Function [ function &sqlsrv_errors ] { + Function [ function sqlsrv_errors ] { - Parameters [1] { Parameter #0 [ $errors_and_or_warnings ] @@ -143,7 +143,7 @@ Extension [ extension #125 sqlsrv version 4.1.6.1 ] { Parameter #0 [ $setting ] } } - Function [ function &sqlsrv_prepare ] { + Function [ function sqlsrv_prepare ] { - Parameters [4] { Parameter #0 [ $conn ] @@ -158,7 +158,7 @@ Extension [ extension #125 sqlsrv version 4.1.6.1 ] { Parameter #0 [ $stmt ] } } - Function [ function &sqlsrv_query ] { + Function [ function sqlsrv_query ] { - Parameters [4] { Parameter #0 [ $conn ] @@ -173,7 +173,7 @@ Extension [ extension #125 sqlsrv version 4.1.6.1 ] { Parameter #0 [ $stmt ] } } - Function [ function &sqlsrv_get_field ] { + Function [ function sqlsrv_get_field ] { - Parameters [3] { Parameter #0 [ $stmt ] @@ -181,7 +181,7 @@ Extension [ extension #125 sqlsrv version 4.1.6.1 ] { Parameter #2 [ $get_as_type ] } } - Function [ function &sqlsrv_fetch_array ] { + Function [ function sqlsrv_fetch_array ] { - Parameters [4] { Parameter #0 [ $stmt ] @@ -190,7 +190,7 @@ Extension [ extension #125 sqlsrv version 4.1.6.1 ] { Parameter #3 [ $offset ] } } - Function [ function &sqlsrv_fetch_object ] { + Function [ function sqlsrv_fetch_object ] { - Parameters [5] { Parameter #0 [ $stmt ] @@ -266,7 +266,7 @@ Extension [ extension #125 sqlsrv version 4.1.6.1 ] { Parameter #0 [ $conn ] } } - Function [ function &sqlsrv_field_metadata ] { + Function [ function sqlsrv_field_metadata ] { - Parameters [1] { Parameter #0 [ $stmt ] diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec index d9116fd..ed1abf7 100644 --- a/php-sqlsrv.spec +++ b/php-sqlsrv.spec @@ -13,7 +13,6 @@ %global gh_owner Microsoft %global gh_project msphpsql %global from_pecl 1 - %global extname sqlsrv %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} # After 20-pdo.ini @@ -21,15 +20,16 @@ Name: %{?scl_prefix}php-sqlsrv Summary: Microsoft Drivers for PHP for SQL Server -Version: 4.1.6.1 -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +%global tarversion 4.1.7preview +Version: 4.1.7.0 +Release: 0.1.preview%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT Group: Development/Languages URL: https://github.com/Microsoft/msphpsql %if %{from_pecl} -Source0: http://pecl.php.net/get/%{extname}-%{version}.tgz -Source1: http://pecl.php.net/get/pdo_%{extname}-%{version}.tgz +Source0: http://pecl.php.net/get/%{extname}-%{tarversion}.tgz +Source1: http://pecl.php.net/get/pdo_%{extname}-%{tarversion}.tgz %else Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz %endif @@ -93,12 +93,12 @@ Package built for PHP %(%{__php} -n -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VER mkdir NTS tar xf %{SOURCE0} -mv %{extname}-%{version}/LICENSE . -mv %{extname}-%{version} NTS/%{extname} +mv %{extname}-%{tarversion}/LICENSE . +mv %{extname}-%{tarversion} NTS/%{extname} mv package.xml NTS/%{extname} tar xf %{SOURCE1} -mv pdo_%{extname}-%{version} NTS/pdo_%{extname} +mv pdo_%{extname}-%{tarversion} NTS/pdo_%{extname} mv package.xml NTS/pdo_%{extname} %else %setup -qc @@ -110,7 +110,7 @@ cd NTS # Sanity check, really often broken extmaj=$(sed -n '/#define SQLVERSION_MAJOR/{s/.*MAJOR //;s/\r//;p}' sqlsrv/shared/version.h) extmin=$(sed -n '/#define SQLVERSION_MINOR/{s/.*MINOR //;s/\r//;p}' sqlsrv/shared/version.h) -extrel=$(sed -n '/#define SQLVERSION_RELEASE/{s/.*ASE //;s/\r//;p}' sqlsrv/shared/version.h) +extrel=$(sed -n '/#define SQLVERSION_PATCH/{s/.*PATCH //;s/\r//;p}' sqlsrv/shared/version.h) extbld=$(sed -n '/#define SQLVERSION_BUILD/{s/.*BUILD //;s/\r//;p}' sqlsrv/shared/version.h) extver=${extmaj}.${extmin}.${extrel}.${extbld} if test "x${extver}" != "x%{version}%{?prever}"; then @@ -258,6 +258,9 @@ fi %changelog +* Tue Mar 7 2017 Remi Collet - 4.1.7.0-0.1.preview +- update to 4.1.7preview (devel) + * Thu Feb 9 2017 Remi Collet - 4.1.6.1-1 - update to 4.1.6.1 (devel) -- cgit