summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-16 13:37:37 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-16 13:37:37 +0200
commiteefbb5fbba3e8571b5cb4e59324c7de01d124906 (patch)
treee2c70cdce65c22d3206b920e2153c0490622b04d
parent5fe3334ea264d3449a7e3d83220291df6042d9d9 (diff)
php-sqlsrv: improve deps
-rw-r--r--php-sqlsrv.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec
index 97ccb7b..a9bc65d 100644
--- a/php-sqlsrv.spec
+++ b/php-sqlsrv.spec
@@ -31,13 +31,13 @@ Source1: https://github.com/Microsoft/msphpsql/blob/master/LICENSE
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pdo
-BuildRequires: msodbcsql
-BuildRequires: unixODBC
+BuildRequires: msodbcsql >= 13
Requires: msodbcsql%{?_isa} >= 13
# ABI check
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
-Requires: %{?scl_prefix}php(api) = %{php_core_api}
+Requires: %{?scl_prefix}php(api) = %{php_core_api}
+Requires: %{?scl_prefix}php(pdo-abi) = %{php_pdo_api}
Requires: %{?scl_prefix}php-pdo%{?_isa}
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}