From bb9883f742f5d38c741e1842b91fdb270bc28dbe Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 22 May 2019 13:29:53 +0200 Subject: odbc now uses pkgconfig --- php.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php.spec b/php.spec index f0d440f..099f902 100644 --- a/php.spec +++ b/php.spec @@ -567,7 +567,7 @@ License: PHP Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release} Provides: %{?scl_prefix}php_database Provides: %{?scl_prefix}php-pdo_odbc, %{?scl_prefix}php-pdo_odbc%{?_isa} -BuildRequires: unixODBC-devel +BuildRequires: pkgconfig(odbc) %description odbc The %{?scl_prefix}php-odbc package contains a dynamic shared object that will add @@ -1289,7 +1289,7 @@ build --libdir=%{_libdir}/php \ --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \ --enable-shmop=shared \ --enable-posix=shared \ - --with-unixODBC=shared,%{_root_prefix} \ + --with-unixODBC=shared \ --enable-intl=shared \ %if %{with_enchant} --with-enchant=shared \ -- cgit