summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-20 15:09:41 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-20 15:09:41 +0200
commitfa26968e833c84552279b011297a918e22aa9cc2 (patch)
tree3fba75b9c494bb23f5b51e4c9fca1e62ba1b7c61
parent454f2102935c1199e50c6d7482b7319c69f037ea (diff)
msodbcsql: split the package (-libs and -devel)
-rw-r--r--php-sqlsrv.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec
index 7380120..0d699ce 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.4
-Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: MIT
Group: Development/Languages
@@ -40,10 +40,10 @@ Patch3: %{extname}-pr157.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pdo
-BuildRequires: msodbcsql >= 13
+BuildRequires: msodbcsql-devel >= 13
BuildRequires: unixODBC-devel >= 2.3.1
-Requires: msodbcsql%{?_isa} >= 13
+Requires: msodbcsql-libs%{?_isa} >= 13
# ABI check
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -223,6 +223,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Sep 20 2016 Remi Collet <remi@remirepo.net> - 4.0.4-5
+- use the splitted msodbcsql packages
+
* Mon Sep 19 2016 Remi Collet <remi@remirepo.net> - 4.0.4-4
- fix reported version
- open https://github.com/Microsoft/msphpsql/pull/157 - buffer overflow