summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-18 06:27:24 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-18 06:27:24 +0100
commit76afb8b084f69ab2c3b4a02e7da0dcae08fc01a2 (patch)
tree3e0340bf58c73e41aac7678d9cb2ee43ab454597
parent563366e115165277832daf9ac0707ceef302ad5c (diff)
php-sqlsrv: 4.0.7
-rw-r--r--REFLECTION2
-rw-r--r--php-sqlsrv.spec19
2 files changed, 8 insertions, 13 deletions
diff --git a/REFLECTION b/REFLECTION
index b034fa9..79da5a6 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -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)