summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-10-26 10:12:37 +0200
committerRemi Collet <remi@php.net>2021-10-26 10:12:37 +0200
commit6afe5d0185fb00b3e6c8892a4c5ce67a998dc7e8 (patch)
tree364d716436ca426891dbc7d178e2ebfca9a2f00c
parente96df7cf91412830463b359bca09e01f656a2a75 (diff)
dba: enable qdbm backend
-rw-r--r--php.spec19
1 files changed, 18 insertions, 1 deletions
diff --git a/php.spec b/php.spec
index 8a3d57c..46227c0 100644
--- a/php.spec
+++ b/php.spec
@@ -73,6 +73,7 @@
%bcond_without tidy
%bcond_without sqlite3
%bcond_without enchant
+
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
# switch to bundled library using --without libpcre
%bcond_without libpcre
@@ -81,6 +82,12 @@
%bcond_with libpcre
%endif
+%if 0%{?fedora} >= 33
+%bcond_without qdbm
+%else
+%bcond_with qdbm
+%endif
+
%bcond_without dtrace
# build with system libgd (gd-last in remi repo)
@@ -113,7 +120,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: %{?scl_prefix}php
Version: %{upver}%{?lower:~%{lower}}%{?gh_date:.%{gh_date}}
-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
@@ -747,6 +754,10 @@ 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
@@ -1203,6 +1214,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 \
@@ -1817,6 +1831,9 @@ fi
%changelog
+* Tue Oct 26 2021 Remi Collet <remi@remirepo.net> - 8.1.0~rc4-2
+- dba: enable qdbm backend
+
* Wed Oct 13 2021 Remi Collet <remi@remirepo.net> - 8.1.0~rc4-1
- update to 8.1.0RC4