diff --git a/apr-util.spec b/apr-util.spec index 5aeca1e881a20e9ce0f628a63bdd3f0692482e64..fd96892459232881b91a3b213e6a7b662d789390 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: 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 +* Fri Jan 8 2021 yangzhuangzhuang - 1.6.1-13 +- BuildRequires: replace libdb with gdbm + * Mon May 18 2020 wangchen - 1.6.1-12 - rebuild for apr-util.