From f383005f1802ba358addc8d87ad47059f4c86383 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 11 Apr 2017 07:32:41 +0200 Subject: 4.1.8preview --- .gitignore | 7 +++++++ REFLECTION | 2 +- php-sqlsrv.spec | 14 +++++++++----- 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 .gitignore 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 diff --git a/REFLECTION b/REFLECTION index db3bca8..070f69b 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #125 sqlsrv version 4.1.7-preview ] { +Extension [ extension #126 sqlsrv version 4.1.8-preview ] { - INI { Entry [ sqlsrv.WarningsReturnAsErrors ] 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 - 4.1.8.0-0.1.preview +- update to 4.1.8preview (devel) + * Tue Mar 7 2017 Remi Collet - 4.1.7.0-0.1.preview - update to 4.1.7preview (devel) -- cgit