summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-05-22 13:29:53 +0200
committerRemi Collet <remi@remirepo.net>2019-05-22 13:29:53 +0200
commitbb9883f742f5d38c741e1842b91fdb270bc28dbe (patch)
tree15c8636b08be90c15b54c1450ba128a9867641ec
parente70649d4b4cfd0bfe7a1c3db305ef132c9420429 (diff)
odbc now uses pkgconfig
-rw-r--r--php.spec4
1 files 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 \