Remove libdb dependency

It was needed for migration from older versions of evolution-data-server,
where local addressbooks used it as its storage. They begun to use SQLite
long time ago, in time of 3.8 (which is year 2012).
This commit is contained in:
Milan Crha 2020-03-30 18:40:02 +02:00
parent c264936fcb
commit d5766b0384

View File

@ -37,7 +37,7 @@
Name: evolution-data-server
Version: 3.36.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Backend data server for Evolution
License: LGPLv2+
URL: https://wiki.gnome.org/Apps/Evolution
@ -70,7 +70,6 @@ BuildRequires: gperf
BuildRequires: gtk-doc >= %{gtk_doc_version}
%endif
BuildRequires: intltool >= %{intltool_version}
BuildRequires: libdb-devel
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: vala
@ -231,12 +230,9 @@ fi
export CPPFLAGS="-I%{_includedir}/et"
export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fPIC -I%{_includedir}/et -Wno-deprecated-declarations"
# See Ross Burton's blog entry for why we want --with-libdb.
# http://www.burtonini.com/blog//computers/eds-libdb-2006-07-18-10-40
%cmake -G "Unix Makefiles" \
-DENABLE_MAINTAINER_MODE=OFF \
-DWITH_LIBDB=/usr \
-DWITH_LIBDB=OFF \
-DENABLE_FILE_LOCKING=fcntl \
-DENABLE_DOT_LOCKING=OFF \
-DENABLE_INTROSPECTION=ON \
@ -464,6 +460,9 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
%{_datadir}/installed-tests
%changelog
* Mon Mar 30 2020 Milan Crha <mcrha@redhat.com> - 3.36.1-2
- Remove libdb dependency
* Fri Mar 27 2020 Milan Crha <mcrha@redhat.com> - 3.36.1-1
- Update to 3.36.1