summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-10-26 10:12:24 +0200
committerRemi Collet <remi@php.net>2021-10-26 10:12:24 +0200
commite405d3d79a7cec1d5629f37d6de1a5fa5ab85682 (patch)
tree89b6853667ce2edc340e09fb3d2ebea6be295646
parenta8d6a450c1391b355d3aa69ae1d9f44d0af3e09f (diff)
dba: enable qdbm backend
-rw-r--r--php.spec15
1 files changed, 15 insertions, 0 deletions
diff --git a/php.spec b/php.spec
index 328ee6c..b858ea6 100644
--- a/php.spec
+++ b/php.spec
@@ -82,6 +82,12 @@
%bcond_with libpcre
%endif
+%if 0%{?fedora} >= 33
+%bcond_without qdbm
+%else
+%bcond_with qdbm
+%endif
+
# TODO change when 8.5 released (libxcrypt 4.1.1-6)
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
# switch to bundled library using --without libxcrypt
@@ -757,6 +763,9 @@ License: PHP
BuildRequires: libdb-devel
BuildRequires: tokyocabinet-devel
BuildRequires: lmdb-devel
+%if %{with qdbm}
+BuildRequires: qdbm-devel
+%endif
Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
%description dba
@@ -1227,6 +1236,9 @@ build --libdir=%{_libdir}/php \
--enable-dba=shared --with-db4=%{_root_prefix} \
--with-tcadb=%{_root_prefix} \
--with-lmdb=%{_root_prefix} \
+%if %{with qdbm}
+ --with-qdbm=%{_root_prefix} \
+%endif
--enable-exif=shared \
--enable-ftp=shared \
--with-gettext=shared \
@@ -1841,6 +1853,9 @@ fi
%changelog
+* Tue Oct 26 2021 Remi Collet <remi@remirepo.net> - 8.0.12-3
+- dba: enable qdbm backend
+
* Tue Oct 26 2021 Remi Collet <remi@remirepo.net> - 8.0.12-2
- add patch for OpenSSL 3.0 on F36 and EL9