diff options
| -rw-r--r-- | php.spec | 19 | 
1 files changed, 18 insertions, 1 deletions
| @@ -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 | 
