summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}}