]> TLD Linux GIT Repositories - packages/php.git/commitdiff
- disable dba, Berkeley DB is no longer available in TLD
authorMarcin Krol <hawk@tld-linux.org>
Sat, 23 May 2026 17:21:51 +0000 (19:21 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 23 May 2026 17:21:51 +0000 (19:21 +0200)
php.spec

index edb239b49f6c55f4d6dba236e192b08aa486333a..91e34ea3d92bee787c937e0f35cc8d1c84a6f148 100644 (file)
--- 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_without dba             # DBA extension module
+%bcond_with    dba             # DBA extension module
 %bcond_without dom             # DOM extension module
 %bcond_without enchant         # Enchant extension module
 %bcond_without exif            # EXIF extension module
@@ -168,7 +168,7 @@ BuildRequires:      bzip2-devel >= 1.0.0
 BuildRequires: capstone-devel
 %{?with_curl:BuildRequires:    curl-devel >= 7.15.5}
 BuildRequires: cyrus-sasl-devel >= 2
-BuildRequires: db-devel >= 4.0
+%{?with_dba:BuildRequires:     db-devel >= 4.0}
 BuildRequires: elfutils-devel
 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
 %if %{with pdo_dblib}