remove tcp_wrappers on Fedora 28 and later (#1518761)

use use mariadb-connector-c-devel instead of mysql-devel on Fedora 28 and later (#1493624)
This commit is contained in:
Michal Hlavinka 2018-01-08 13:40:19 +01:00
parent a061dc525c
commit 70e36f28d3

View File

@ -5,7 +5,7 @@ Name: dovecot
Epoch: 1 Epoch: 1
Version: 2.2.33.2 Version: 2.2.33.2
%global prever %{nil} %global prever %{nil}
Release: 1%{?dist} Release: 2%{?dist}
#dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2 #dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
License: MIT and LGPLv2 License: MIT and LGPLv2
Group: System Environment/Daemons Group: System Environment/Daemons
@ -40,12 +40,16 @@ BuildRequires: openssl-devel, pam-devel, zlib-devel, bzip2-devel, libcap-devel
BuildRequires: libtool, autoconf, automake, pkgconfig BuildRequires: libtool, autoconf, automake, pkgconfig
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
BuildRequires: postgresql-devel BuildRequires: postgresql-devel
%if %{?fedora}0 < 280
BuildRequires: mysql-devel BuildRequires: mysql-devel
BuildRequires: tcp_wrappers-devel
%else
BuildRequires: mariadb-connector-c-devel
%endif
BuildRequires: openldap-devel BuildRequires: openldap-devel
BuildRequires: krb5-devel BuildRequires: krb5-devel
BuildRequires: quota-devel BuildRequires: quota-devel
BuildRequires: xz-devel BuildRequires: xz-devel
BuildRequires: tcp_wrappers-devel
# gettext-devel is needed for running autoconf because of the # gettext-devel is needed for running autoconf because of the
# presence of AM_ICONV # presence of AM_ICONV
@ -161,7 +165,9 @@ autoreconf -I . -fiv #required for aarch64 support
--with-sqlite \ --with-sqlite \
--with-zlib \ --with-zlib \
--with-libcap \ --with-libcap \
%if %{?fedora}0 < 280
--with-libwrap \ --with-libwrap \
%endif
%if %{?fedora}0 > 150 || %{?rhel}0 >60 %if %{?fedora}0 > 150 || %{?rhel}0 >60
--with-lucene \ --with-lucene \
%endif %endif
@ -490,6 +496,10 @@ make check
%{_libdir}/%{name}/dict/libdriver_pgsql.so %{_libdir}/%{name}/dict/libdriver_pgsql.so
%changelog %changelog
* Mon Jan 08 2018 Michal Hlavinka <mhlavink@redhat.com> - 1:2.2.33.2-2
- remove tcp_wrappers on Fedora 28 and later (#1518761)
- use use mariadb-connector-c-devel instead of mysql-devel on Fedora 28 and later (#1493624)
* Tue Oct 24 2017 Michal Hlavinka <mhlavink@redhat.com> - 1:2.2.33.2-1 * Tue Oct 24 2017 Michal Hlavinka <mhlavink@redhat.com> - 1:2.2.33.2-1
- dovecot updated to 2.2.33.2 - dovecot updated to 2.2.33.2
- doveadm: Fix crash in proxying (or dsync replication) if remote is - doveadm: Fix crash in proxying (or dsync replication) if remote is