replace libdb with gdbm and add requires gdbm-devel
This commit is contained in:
parent
b9d222c814
commit
aab69dd72e
@ -2,7 +2,7 @@
|
||||
|
||||
Name: apr-util
|
||||
Version: 1.6.1
|
||||
Release: 11
|
||||
Release: 12
|
||||
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,10 @@ make test
|
||||
%{_libdir}/%{name}-%{apuver}/apr_dbd_odbc*
|
||||
|
||||
%changelog
|
||||
* Sat Jun 19 2021 panxiaohe <panxiaohe@huawei.com> - 1.6.1-12
|
||||
- BuildRequires: replace libdb with gdbm
|
||||
- Add requires gdbm-devel
|
||||
|
||||
* Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.6.1-11
|
||||
- Delete useless files.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user