From b17bb18c8f5c4a66bb39def8a59ca81b73f4742c Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sun, 24 May 2026 17:08:46 +0200 Subject: [PATCH] - re-enable dba with lmdb backend --- php.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/php.spec b/php.spec index 5f3f9fe..d362497 100644 --- a/php.spec +++ b/php.spec @@ -18,7 +18,7 @@ %bcond_without calendar # calendar extension module %bcond_without ctype # ctype extension module %bcond_without curl # CURL extension module -%bcond_with dba # DBA extension module +%bcond_without dba # DBA extension module %bcond_without dom # DOM extension module %bcond_without enchant # Enchant extension module %bcond_without exif # EXIF extension module @@ -166,7 +166,6 @@ BuildRequires: bzip2-devel >= 1.0.0 BuildRequires: capstone-devel %{?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} @@ -194,6 +193,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} @@ -2023,7 +2023,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 \ @@ -2035,6 +2034,7 @@ for sapi in $sapis; do %{__with_without ffi ffi shared} \ --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}} \ -- 2.52.0