]> 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:22:12 +0000 (19:22 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 23 May 2026 17:22:12 +0000 (19:22 +0200)
php.spec

index a185df25cdb61d161b9d7ea4a89229d6e7364127..5f3f9fef6eedc676173c5ae59672b0fbae1d25bf 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
@@ -166,7 +166,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}