From a87f91d978f39b640551553d1c9e3a8030e63047 Mon Sep 17 00:00:00 2001 From: yang_zhuang_zhuang <1162011203@qq.com> Date: Wed, 24 Mar 2021 15:00:23 +0800 Subject: [PATCH] BuildRequires:replace libdb with gdbm --- apr-util.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/apr-util.spec b/apr-util.spec index 5aeca1e..864542f 100644 --- a/apr-util.spec +++ b/apr-util.spec @@ -2,7 +2,7 @@ Name: apr-util Version: 1.6.1 -Release: 12 +Release: 13 Summary: apr-util provides a number of helpful abstractions on top of APR. License: ASL 2.0 URL: http://apr.apache.org @@ -14,7 +14,7 @@ Patch6002: Fix-error-handling-in-gdbm.patch Patch6003: Merge-r1834022-r1834023-r1834024-from-trunk.patch Patch6004: Remove-dereference-of-null-pointer.patch -BuildRequires: gcc autoconf apr-devel >= 1.6.0 libdb-devel expat-devel libuuid-devel +BuildRequires: gcc autoconf apr-devel >= 1.6.0 gdbm-devel expat-devel libuuid-devel BuildRequires: mariadb-connector-c-devel sqlite-devel >= 3.1.0 openldap-devel openssl-devel Requires: apr-util%{?_isa} = %{version}-%{release} @@ -40,7 +40,7 @@ work around or take advantage of platform-specific deficiencies or features. %package devel Summary: The development kit of apr-util. Requires: expat-devel%{?_isa} apr-util%{?_isa} = %{version}-%{release} -Requires: libdb-devel%{?_isa} openldap-devel%{?_isa} apr-devel%{?_isa} pkgconfig +Requires: gdbm-devel%{?_isa} openldap-devel%{?_isa} apr-devel%{?_isa} pkgconfig %description devel The development kit of apr-util. @@ -68,8 +68,8 @@ The ODBC DBD driver of apr-util. autoheader && autoconf export ac_cv_ldap_set_rebind_proc_style=three %configure --with-apr=%{_prefix} --includedir=%{_includedir}/apr-%{apuver} \ - --with-ldap=ldap_r --without-gdbm --with-sqlite3 --with-pgsql --with-mysql --with-odbc \ - --with-dbm=db5 --with-berkeley-db --without-sqlite2 --with-crypto --with-openssl + --with-ldap=ldap_r --with-gdbm --with-sqlite3 --with-pgsql --with-mysql --with-odbc \ + --with-dbm=gdbm --without-berkeley-db --without-sqlite2 --with-crypto --with-openssl %make_build %install @@ -102,7 +102,7 @@ make test %license LICENSE %{_libdir}/libaprutil-%{apuver}.so.* %dir %{_libdir}/%{name}-%{apuver} -%{_libdir}/%{name}-%{apuver}/apr_dbm_db* +%{_libdir}/%{name}-%{apuver}/apr_dbm_gdbm* %{_libdir}/%{name}-%{apuver}/apr_dbd_mysql* %{_libdir}/%{name}-%{apuver}/apr_dbd_sqlite* %{_libdir}/%{name}-%{apuver}/apr_ldap* @@ -123,6 +123,9 @@ make test %{_libdir}/%{name}-%{apuver}/apr_dbd_odbc* %changelog +* Wed Mar 24 2021 yangzhuangzhuang - 1.6.1-13 +- BuildRequires: replace libdb with gdbm + * Mon May 18 2020 wangchen - 1.6.1-12 - rebuild for apr-util. -- Gitee