From e405d3d79a7cec1d5629f37d6de1a5fa5ab85682 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 26 Oct 2021 10:12:24 +0200 Subject: dba: enable qdbm backend --- php.spec | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'php.spec') 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 - 8.0.12-3 +- dba: enable qdbm backend + * Tue Oct 26 2021 Remi Collet - 8.0.12-2 - add patch for OpenSSL 3.0 on F36 and EL9 -- cgit