diff options
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | REFLECTION | 2 | ||||
-rw-r--r-- | php-sqlsrv.spec | 14 |
3 files changed, 17 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ab5c4f --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +package-*.xml +*.tgz +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #125 sqlsrv version 4.1.7-preview ] { +Extension [ <persistent> extension #126 sqlsrv version 4.1.8-preview ] { - INI { Entry [ sqlsrv.WarningsReturnAsErrors <ALL> ] diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec index ed1abf7..8f2a0b0 100644 --- a/php-sqlsrv.spec +++ b/php-sqlsrv.spec @@ -20,9 +20,9 @@ Name: %{?scl_prefix}php-sqlsrv Summary: Microsoft Drivers for PHP for SQL Server -%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;')}} +%global tarversion 4.1.8preview +Version: 4.1.8.0~preview +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT Group: Development/Languages @@ -113,8 +113,9 @@ extmin=$(sed -n '/#define SQLVERSION_MINOR/{s/.*MINOR //;s/\r//;p}' sqlsrv/share 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 - : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}. +rpmver=%{version} +if test "x${extver}" != "x${rpmver%%~*}"; then + : Error: Upstream extension version is ${extver}, expecting ${rpmver%%~*}. exit 1 fi cd .. @@ -258,6 +259,9 @@ fi %changelog +* Tue Apr 11 2017 Remi Collet <remi@remirepo.net> - 4.1.8.0-0.1.preview +- update to 4.1.8preview (devel) + * Tue Mar 7 2017 Remi Collet <remi@remirepo.net> - 4.1.7.0-0.1.preview - update to 4.1.7preview (devel) |