diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-03-07 07:39:31 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-03-07 07:39:31 +0100 |
commit | cd261946abdfb5b94f7c7a27ee16fd5d86a8b041 (patch) | |
tree | a44b5b4f0f74f1e290085eee04bb00fd5092f583 | |
parent | 0409b65746fcda38780fd9ed7627f8e2fa0cab02 (diff) |
php-sqlsrv: 4.1.7preview
-rw-r--r-- | REFLECTION | 16 | ||||
-rw-r--r-- | php-sqlsrv.spec | 21 |
2 files changed, 20 insertions, 17 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #125 sqlsrv version 4.1.6.1 ] { +Extension [ <persistent> extension #125 sqlsrv version 4.1.7-preview ] { - INI { Entry [ sqlsrv.WarningsReturnAsErrors <ALL> ] @@ -124,7 +124,7 @@ Extension [ <persistent> extension #125 sqlsrv version 4.1.6.1 ] { Parameter #0 [ <required> $conn ] } } - Function [ <internal:sqlsrv> function &sqlsrv_errors ] { + Function [ <internal:sqlsrv> function sqlsrv_errors ] { - Parameters [1] { Parameter #0 [ <optional> $errors_and_or_warnings ] @@ -143,7 +143,7 @@ Extension [ <persistent> extension #125 sqlsrv version 4.1.6.1 ] { Parameter #0 [ <required> $setting ] } } - Function [ <internal:sqlsrv> function &sqlsrv_prepare ] { + Function [ <internal:sqlsrv> function sqlsrv_prepare ] { - Parameters [4] { Parameter #0 [ <required> $conn ] @@ -158,7 +158,7 @@ Extension [ <persistent> extension #125 sqlsrv version 4.1.6.1 ] { Parameter #0 [ <required> $stmt ] } } - Function [ <internal:sqlsrv> function &sqlsrv_query ] { + Function [ <internal:sqlsrv> function sqlsrv_query ] { - Parameters [4] { Parameter #0 [ <required> $conn ] @@ -173,7 +173,7 @@ Extension [ <persistent> extension #125 sqlsrv version 4.1.6.1 ] { Parameter #0 [ <required> $stmt ] } } - Function [ <internal:sqlsrv> function &sqlsrv_get_field ] { + Function [ <internal:sqlsrv> function sqlsrv_get_field ] { - Parameters [3] { Parameter #0 [ <required> $stmt ] @@ -181,7 +181,7 @@ Extension [ <persistent> extension #125 sqlsrv version 4.1.6.1 ] { Parameter #2 [ <optional> $get_as_type ] } } - Function [ <internal:sqlsrv> function &sqlsrv_fetch_array ] { + Function [ <internal:sqlsrv> function sqlsrv_fetch_array ] { - Parameters [4] { Parameter #0 [ <required> $stmt ] @@ -190,7 +190,7 @@ Extension [ <persistent> extension #125 sqlsrv version 4.1.6.1 ] { Parameter #3 [ <optional> $offset ] } } - Function [ <internal:sqlsrv> function &sqlsrv_fetch_object ] { + Function [ <internal:sqlsrv> function sqlsrv_fetch_object ] { - Parameters [5] { Parameter #0 [ <required> $stmt ] @@ -266,7 +266,7 @@ Extension [ <persistent> extension #125 sqlsrv version 4.1.6.1 ] { Parameter #0 [ <required> $conn ] } } - Function [ <internal:sqlsrv> function &sqlsrv_field_metadata ] { + Function [ <internal:sqlsrv> function sqlsrv_field_metadata ] { - Parameters [1] { Parameter #0 [ <required> $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 <remi@remirepo.net> - 4.1.7.0-0.1.preview +- update to 4.1.7preview (devel) + * Thu Feb 9 2017 Remi Collet <remi@remirepo.net> - 4.1.6.1-1 - update to 4.1.6.1 (devel) |