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 pspell
%bcond_without tidy %bcond_without tidy
%bcond_without db4 %bcond_without db4
%bcond_without qdbm
%else %else
# Disabled by default on RHEL # Disabled by default on RHEL
%bcond_with zts %bcond_with zts
@ -57,6 +58,7 @@
%bcond_with pspell %bcond_with pspell
%bcond_with tidy %bcond_with tidy
%bcond_with db4 %bcond_with db4
%bcond_with qdbm
%endif %endif
%bcond_with modphp %bcond_with modphp
%bcond_with imap %bcond_with imap
@ -68,7 +70,7 @@
Summary: PHP scripting language for creating dynamic web sites Summary: PHP scripting language for creating dynamic web sites
Name: php Name: php
Version: %{upver}%{?rcver:~%{rcver}} Version: %{upver}%{?rcver:~%{rcver}}
Release: 1%{?dist} Release: 2%{?dist}
# All files licensed under PHP version 3.01, except # All files licensed under PHP version 3.01, except
# Zend is licensed under Zend # Zend is licensed under Zend
# TSRM is licensed under BSD # TSRM is licensed under BSD
@ -588,6 +590,9 @@ BuildRequires: tokyocabinet-devel
%if %{with lmdb} %if %{with lmdb}
BuildRequires: lmdb-devel BuildRequires: lmdb-devel
%endif %endif
%if %{with qdbm}
BuildRequires: qdbm-devel
%endif
Requires: php-common%{?_isa} = %{version}-%{release} Requires: php-common%{?_isa} = %{version}-%{release}
%description dba %description dba
@ -930,6 +935,9 @@ build --libdir=%{_libdir}/php \
--with-tcadb=%{_prefix} \ --with-tcadb=%{_prefix} \
%if %{with lmdb} %if %{with lmdb}
--with-lmdb=%{_prefix} \ --with-lmdb=%{_prefix} \
%endif
%if %{with qdbm}
--with-qdbm=%{_prefix} \
%endif %endif
--enable-exif=shared \ --enable-exif=shared \
--enable-ftp=shared \ --enable-ftp=shared \
@ -1063,6 +1071,9 @@ build --includedir=%{_includedir}/php-zts \
--with-tcadb=%{_prefix} \ --with-tcadb=%{_prefix} \
%if %{with lmdb} %if %{with lmdb}
--with-lmdb=%{_prefix} \ --with-lmdb=%{_prefix} \
%endif
%if %{with qdbm}
--with-qdbm=%{_prefix} \
%endif %endif
--with-gettext=shared \ --with-gettext=shared \
--with-iconv=shared \ --with-iconv=shared \
@ -1539,6 +1550,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
%changelog %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 * 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 - Update to 8.0.12 - http://www.php.net/releases/8_0_12.php
- build using system libxcrypt - build using system libxcrypt