summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-06-22 07:45:29 +0200
committerRemi Collet <remi@remirepo.net>2017-06-22 07:45:29 +0200
commit6d9d356811da67df760ab76557c27079e7eeb29c (patch)
tree77181a84fef2f45e0e458415c99f553720ae635a
parent2242bef4d8655f9bbf90a762d5ec384f76cb0f67 (diff)
4.3.0RC1
-rw-r--r--REFLECTION2
-rw-r--r--php-sqlsrv.spec15
2 files changed, 12 insertions, 5 deletions
diff --git a/REFLECTION b/REFLECTION
index d450786..68e0e2d 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #128 sqlsrv version 4.2.0-preview ] {
+Extension [ <persistent> extension #129 sqlsrv version 4.3.0-RC1 ] {
- INI {
Entry [ sqlsrv.WarningsReturnAsErrors <ALL> ]
diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec
index c736a1a..9dcae1f 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.2.0preview
-Version: 4.2.0.0~preview
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+%global tarversion 4.3.0RC1
+Version: 4.3.0~RC1
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: MIT
Group: Development/Languages
@@ -64,6 +64,10 @@ Obsoletes: php70w-sqlsrv <= %{version}
Obsoletes: php71u-sqlsrv <= %{version}
Obsoletes: php71w-sqlsrv <= %{version}
%endif
+%if "%{php_version}" > "7.2"
+Obsoletes: php72u-sqlsrv <= %{version}
+Obsoletes: php72w-sqlsrv <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -112,7 +116,7 @@ extmaj=$(sed -n '/#define SQLVERSION_MAJOR/{s/.*MAJOR //;s/\r//;p}' sqlsrv/share
extmin=$(sed -n '/#define SQLVERSION_MINOR/{s/.*MINOR //;s/\r//;p}' sqlsrv/shared/version.h)
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}
+extver=${extmaj}.${extmin}.${extrel}
rpmver=%{version}
if test "x${extver}" != "x${rpmver%%~*}"; then
: Error: Upstream extension version is ${extver}, expecting ${rpmver%%~*}.
@@ -259,6 +263,9 @@ fi
%changelog
+* Thu Jun 22 2017 Remi Collet <remi@remirepo.net> - 4.3.0~RC1-1
+- update to 4.3.0RC1 (devel)
+
* Wed Jun 21 2017 Remi Collet <remi@remirepo.net> - 4.2.0.0~preview-2
- rebuild for 7.2.0alpha2