summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php.spec16
1 files changed, 16 insertions, 0 deletions
diff --git a/php.spec b/php.spec
index 0c9c9f1..61af30f 100644
--- a/php.spec
+++ b/php.spec
@@ -71,12 +71,19 @@
%global with_tidy 1
%global with_sqlite3 1
%global with_enchant 1
+
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
%global with_libpcre 1
%else
%global with_libpcre 0
%endif
+%if 0%{?fedora} >= 33
+%bcond_without qdbm
+%else
+%bcond_with qdbm
+%endif
+
%global with_dtrace 1
# build with system libgd (gd-last in remi repo)
@@ -766,6 +773,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
@@ -1195,6 +1205,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 \
@@ -1815,6 +1828,9 @@ fi
%changelog
+* Tue Oct 26 2021 Remi Collet <remi@remirepo.net> - 7.4.25-2
+- dba: enable qdbm backend
+
* Wed Oct 20 2021 Remi Collet <remi@remirepo.net> - 7.4.25-1
- Update to 7.4.25 - http://www.php.net/releases/7_4_25.php