From eefbb5fbba3e8571b5cb4e59324c7de01d124906 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 16 Sep 2016 13:37:37 +0200 Subject: php-sqlsrv: improve deps --- php-sqlsrv.spec | 6 +++--- 1 file 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}} -- cgit