From: Marcin Krol Date: Sun, 24 May 2026 15:09:43 +0000 (+0200) Subject: - re-enable dba with lmdb backend X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=refs%2Fheads%2FPHP_8_3;p=packages%2Fphp.git - re-enable dba with lmdb backend --- diff --git a/php.spec b/php.spec index 9a438f7..ed4b0fe 100644 --- a/php.spec +++ b/php.spec @@ -180,7 +180,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} @@ -210,6 +209,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} @@ -2154,7 +2154,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 \ @@ -2167,6 +2166,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}} \