summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-03-26 17:05:41 +0200
committerRemi Collet <remi@remirepo.net>2018-03-26 17:05:41 +0200
commitdfbb0a43ab07c384654e6adb25d8d922ab44bbd7 (patch)
treee09693a641e8d585c56eaef2b646d4c88ff2cc38
parenta02e53fab070907d9cfab19ed9bd49aeefdfaaef (diff)
update to 5.2.0 (stable)
-rw-r--r--REFLECTION2
-rw-r--r--php-sqlsrv.spec16
2 files changed, 13 insertions, 5 deletions
diff --git a/REFLECTION b/REFLECTION
index 1556180..5fd5b69 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #136 sqlsrv version 5.2.0-RC1 ] {
+Extension [ <persistent> extension #139 sqlsrv version 5.2.0 ] {
- INI {
Entry [ sqlsrv.WarningsReturnAsErrors <ALL> ]
diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec
index b8816ea..4f71265 100644
--- a/php-sqlsrv.spec
+++ b/php-sqlsrv.spec
@@ -1,11 +1,15 @@
# remirepo spec file for php-sqlsrv
#
-# Copyright (c) 2016-2017 Remi Collet
+# Copyright (c) 2016-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
+
+# we don't want -z defs linker flag
+%undefine _strict_symbol_defs_build
+
%{?scl: %scl_package php-sqlsrv}
%global gh_commit 4ccffbbe077e87288bf00cc6327142579da46775
@@ -21,8 +25,8 @@
Name: %{?scl_prefix}php-sqlsrv
Summary: Microsoft Drivers for PHP for SQL Server
-%global tarversion 5.2.0RC1
-Version: 5.2.0~RC1
+%global tarversion 5.2.0
+Version: 5.2.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: MIT
Group: Development/Languages
@@ -35,6 +39,7 @@ Source1: http://pecl.php.net/get/pdo_%{extname}-%{tarversion}.tgz
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
%endif
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pdo
BuildRequires: %{?scl_prefix}php-pear
@@ -227,7 +232,7 @@ install -D -m 644 %{ininame} %{buildroot}%{php_ztsinidir}/%{ininame}
%endif
-%if 0%{?fedora} < 24
+%if 0%{?fedora} < 24 && 0%{?rhel} < 8
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
if [ -x %{__pecl} ] ; then
@@ -268,6 +273,9 @@ fi
%changelog
+* Mon Mar 26 2018 Remi Collet <remi@remirepo.net> - 5.2.0-1
+- update to 5.2.0 (stable)
+
* Fri Dec 22 2017 Remi Collet <remi@remirepo.net> - 5.2.0~RC1-1
- update to 5.2.0RC1 (devel)