re-enable LMDB by default again for Fedora >= 40 (#1779267)

Resolves: rhbz#1779267
This commit is contained in:
Joe Orton 2023-12-12 09:48:00 +00:00
parent 3e82cea5cf
commit 1ea402ac3d

View File

@ -4,8 +4,7 @@
%if 0%{?fedora} < 39 && 0%{?rhel} <= 9
%global with_lmdb 0
%else
# disabled for now
%global with_lmdb 0
%global with_lmdb 1
%endif
%if %{with_lmdb}
@ -38,7 +37,7 @@
Summary: Apache Portable Runtime Utility library
Name: apr-util
Version: 1.6.3
Release: 12%{?dist}
Release: 13%{?dist}
# Apache-2.0: everything
# RSA-MD: https://gitlab.com/fedora/legal/fedora-legal-docs/-/merge_requests/187
# include\apr_md5.h, passwd\apr_md5.c, crypto\apr_md4.c, include\apr_md4.h
@ -100,7 +99,7 @@ Summary: APR utility library LMDB driver
Requires: apr-util%{?_isa} = %{version}-%{release}
# Remove libdb dependency from apr-util
# https://bugzilla.redhat.com/show_bug.cgi?id=1779267
Obsoletes: apr-util-bdb < 1.6.3-8
Obsoletes: apr-util-bdb < 1.6.3-13
Provides: apr-util-%{aprver}(dbm)%{?_isa} = %{version}-%{release}
%description lmdb
@ -284,6 +283,9 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}/apr-util-%{apuver}
%{_datadir}/aclocal/*.m4
%changelog
* Tue Dec 12 2023 Joe Orton <jorton@redhat.com> - 1.6.3-13
- re-enable LMDB by default again for Fedora >= 40 (#1779267)
* Thu Nov 2 2023 Joe Orton <jorton@redhat.com> - 1.6.3-12
- add apr-util-1(dbm) as virtual provide for dbm drivers
- disable LMDB for now