summaryrefslogtreecommitdiffstats
path: root/php.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php.spec')
-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