From 823beec911a5e03a5b401434081000dea30809d9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 26 Oct 2021 11:28:30 +0200 Subject: [PATCH] dba: enable qdbm backend (cherry picked from commit f176e21d38c08a52be1ee4e1383c953165524fb8) --- php.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/php.spec b/php.spec index 1ff946a..6eed225 100644 --- a/php.spec +++ b/php.spec @@ -48,6 +48,7 @@ %bcond_without pspell %bcond_without tidy %bcond_without db4 +%bcond_without qdbm %else # Disabled by default on RHEL %bcond_with zts @@ -57,6 +58,7 @@ %bcond_with pspell %bcond_with tidy %bcond_with db4 +%bcond_with qdbm %endif %bcond_with modphp %bcond_with imap @@ -68,7 +70,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: %{upver}%{?rcver:~%{rcver}} -Release: 1%{?dist} +Release: 2%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -588,6 +590,9 @@ BuildRequires: tokyocabinet-devel %if %{with lmdb} BuildRequires: lmdb-devel %endif +%if %{with qdbm} +BuildRequires: qdbm-devel +%endif Requires: php-common%{?_isa} = %{version}-%{release} %description dba @@ -930,6 +935,9 @@ build --libdir=%{_libdir}/php \ --with-tcadb=%{_prefix} \ %if %{with lmdb} --with-lmdb=%{_prefix} \ +%endif +%if %{with qdbm} + --with-qdbm=%{_prefix} \ %endif --enable-exif=shared \ --enable-ftp=shared \ @@ -1063,6 +1071,9 @@ build --includedir=%{_includedir}/php-zts \ --with-tcadb=%{_prefix} \ %if %{with lmdb} --with-lmdb=%{_prefix} \ +%endif +%if %{with qdbm} + --with-qdbm=%{_prefix} \ %endif --with-gettext=shared \ --with-iconv=shared \ @@ -1539,6 +1550,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || : %changelog +* Tue Oct 19 2021 Remi Collet - 8.0.12-2 +- dba: enable qdbm backend + * Tue Oct 19 2021 Remi Collet - 8.0.12-1 - Update to 8.0.12 - http://www.php.net/releases/8_0_12.php - build using system libxcrypt