summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-09 06:43:54 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-09 06:43:54 +0100
commit0409b65746fcda38780fd9ed7627f8e2fa0cab02 (patch)
treef160c779470b78d93ed162aa4c289ba7de2cf572
parent0a161aa5c7272d937b7b65676a2a209e57e1b003 (diff)
php-sqlsrv: 4.1.6.1
-rw-r--r--REFLECTION2
-rw-r--r--php-sqlsrv.spec12
2 files changed, 9 insertions, 5 deletions
diff --git a/REFLECTION b/REFLECTION
index 1a961f2..67372c7 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #125 sqlsrv version 4.1.6.0 ] {
+Extension [ <persistent> extension #125 sqlsrv version 4.1.6.1 ] {
- INI {
Entry [ sqlsrv.WarningsReturnAsErrors <ALL> ]
diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec
index e4fd260..d9116fd 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.1.6
+Version: 4.1.6.1
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: MIT
Group: Development/Languages
@@ -109,9 +109,10 @@ 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/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}
+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)
+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}.
exit 1
@@ -257,6 +258,9 @@ fi
%changelog
+* Thu Feb 9 2017 Remi Collet <remi@remirepo.net> - 4.1.6.1-1
+- update to 4.1.6.1 (devel)
+
* Sat Feb 4 2017 Remi Collet <remi@remirepo.net> - 4.1.6-1
- update to 4.1.6 (devel)