From: Marcin Krol Date: Sun, 24 May 2026 15:10:00 +0000 (+0200) Subject: - re-enable dba with lmdb backend X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=b98f35008217e1375aad63d0366610b3c6512b08;p=packages%2Fphp.git - re-enable dba with lmdb backend --- diff --git a/php.spec b/php.spec index 97c9818..673e381 100644 --- a/php.spec +++ b/php.spec @@ -182,7 +182,6 @@ BuildRequires: bison >= 3.0.0 BuildRequires: bzip2-devel >= 1.0.0 %{?with_curl:BuildRequires: curl-devel >= 7.15.5} BuildRequires: cyrus-sasl-devel >= 2 -%{?with_dba:BuildRequires: db-devel >= 4.0} BuildRequires: elfutils-devel %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3} %if %{with pdo_dblib} @@ -212,6 +211,7 @@ BuildRequires: libtool >= 2:2.4.6 BuildRequires: libxml2-devel >= 1:2.7.6-4 %{?with_xsl:BuildRequires: libxslt-devel >= 1.1.0} %{?with_zip:BuildRequires: libzip-devel >= 1.3.1} +%{?with_dba:BuildRequires: lmdb-devel} %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}} %{?with_mm:BuildRequires: mm-devel >= 1.3.0} %{!?with_mysqli:BuildRequires: mysql-devel} @@ -2156,7 +2156,6 @@ for sapi in $sapis; do --enable-xmlreader=shared \ %{__with_without bzip2 bz2 shared} \ %{__with_without curl curl shared} \ - --with-db4 \ %{__with_without iconv iconv shared} \ %{?with_enchant:--with-enchant=shared} \ --with-freetype \ @@ -2169,6 +2168,7 @@ for sapi in $sapis; do %{?with_imap:--with-imap=shared --with-imap-ssl} \ --with-jpeg \ %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \ + --with-lmdb \ %{?with_mm:--with-mm} \ %{?with_mysqlnd:--enable-mysqlnd=shared} \ %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \