diff options
-rw-r--r-- | REFLECTION | 2 | ||||
-rw-r--r-- | php-sqlsrv.spec | 19 |
2 files changed, 8 insertions, 13 deletions
@@ -1,4 +1,4 @@ -Extension [ <persistent> extension #116 sqlsrv version 4.0.6.0 ] { +Extension [ <persistent> extension #118 sqlsrv version 4.0.7.0 ] { - INI { Entry [ sqlsrv.WarningsReturnAsErrors <ALL> ] diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec index 24e811a..9e5e53c 100644 --- a/php-sqlsrv.spec +++ b/php-sqlsrv.spec @@ -21,7 +21,7 @@ Name: %{?scl_prefix}php-sqlsrv Summary: Microsoft Drivers for PHP for SQL Server -Version: 4.0.6 +Version: 4.0.7 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT Group: Development/Languages @@ -108,22 +108,14 @@ mv %{gh_project}-%{gh_commit}/LICENSE . cd NTS # Sanity check, really often broken -extmaj=$(sed -n '/#define SQLVERSION_MAJOR/{s/.*MAJOR //;s/\r//;p}' sqlsrv/version.h) -extmin=$(sed -n '/#define SQLVERSION_MINOR/{s/.*MINOR //;s/\r//p}' sqlsrv/version.h) -extrel=$(sed -n '/#define SQLVERSION_RELEASE/{s/.*ASE //;s/\r//p}' sqlsrv/version.h) +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) extver=${extmaj}.${extmin}.${extrel} if test "x${extver}" != "x%{version}%{?prever}"; then : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}. exit 1 fi -extmaj=$(sed -n '/#define SQLVERSION_MAJOR/{s/.*MAJOR //;s/\r//p}' pdo_sqlsrv/version.h) -extmin=$(sed -n '/#define SQLVERSION_MINOR/{s/.*MINOR //;s/\r//p}' pdo_sqlsrv/version.h) -extrel=$(sed -n '/#define SQLVERSION_RELEASE/{s/.*ASE //;s/\r//p}' pdo_sqlsrv/version.h) -extver=$extmaj.$extmin.$extrel -if test "x${extver}" != "x%{version}%{?prever}"; then - : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}. - exit 1 -fi cd .. cat << 'EOF' | tee %{ininame} @@ -261,6 +253,9 @@ fi %changelog +* Fri Nov 18 2016 Remi Collet <remi@remirepo.net> - 4.0.7-1 +- update to 4.0.7 (devel) + * Sat Oct 22 2016 Remi Collet <remi@remirepo.net> - 4.0.6-1 - update to 4.0.6 (devel) |