dba: enable qdbm backend

(cherry picked from commit f176e21d38)
This commit is contained in:
Remi Collet 2021-10-26 11:28:30 +02:00
parent 9cf61a5f3f
commit 823beec911
1 changed files with 15 additions and 1 deletions

View File

@ -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 <remi@remirepo.net> - 8.0.12-2
- dba: enable qdbm backend
* Tue Oct 19 2021 Remi Collet <remi@remirepo.net> - 8.0.12-1
- Update to 8.0.12 - http://www.php.net/releases/8_0_12.php
- build using system libxcrypt