dovecot: add some extra dependencies

This commit is contained in:
Raven 2024-02-22 10:14:34 +06:00
parent bc211c6ac8
commit 1c234c63b9

View File

@ -7,7 +7,7 @@ Epoch: 1
%global minor 21
Version: %{major}.%{minor}
#global prever .rc1
Release: 2%{?dist}
Release: 3%{?dist}
#dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
License: MIT and LGPLv2
Group: System Environment/Daemons
@ -62,13 +62,13 @@ Patch23: dovecot-2.3.20-nolibotp.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: make
BuildRequires: pam-devel, zlib-devel, bzip2-devel, libcap-devel
BuildRequires: pam-devel, libcap-devel, libstemmer-devel, libsodium-devel
BuildRequires: libtool, autoconf, automake, pkgconfig
BuildRequires: sqlite-devel
BuildRequires: /usr/bin/mysql_config
BuildRequires: openldap-devel
BuildRequires: krb5-devel
BuildRequires: libzstd-devel
BuildRequires: zlib-devel, bzip2-devel, libzstd-devel, xz-devel, lzo-devel, lz4-devel
BuildRequires: pkgconfig(icu-i18n)
%if 0%{?rhel} < 8
@ -240,10 +240,16 @@ export CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fno-strict-aliasing"
--with-pgsql \
--with-mysql \
--with-sqlite \
--with-bzlib \
--with-lz4 \
--with-lzma \
--with-zlib \
--with-libcap \
--with-zstd \
--with-libcap \
--with-sodium \
--with-stemmer \
--with-icu \
--with-solr \
%if 0%{?rhel} < 8
--with-libwrap \
%endif
@ -253,7 +259,6 @@ export CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fno-strict-aliasing"
%endif
--with-ssl=openssl \
--with-ssldir=%{ssldir} \
--with-solr \
%if 0%{?rhel} > 6
--with-systemdsystemunitdir=%{_unitdir} \
%endif
@ -600,6 +605,9 @@ make check
%{_libdir}/dovecot/auth/libauthdb_lua.so
%changelog
* Wed Feb 21 2024 Raven <raven@sysadmins.ws> - 1:2.3.21-3
- add extra compression support
* Wed Feb 21 2024 Raven <raven@sysadmins.ws> - 1:2.3.21-2
- revert back dovecot-init.service