From 6924b882fbfa0e3a08032410d3b039ebf599a381 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 9 May 2013 12:46:28 +0000 Subject: [PATCH] - reverted last commit (commited to wrong git repo) --- postfix.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/postfix.spec b/postfix.spec index a0e5f8d..ffb1af1 100644 --- a/postfix.spec +++ b/postfix.spec @@ -7,10 +7,22 @@ %bcond_without sasl # without SMTP AUTH support %bcond_without ssl # without SSL/TLS support %bcond_without cdb # without cdb map support +%if "%{pld_release}" == "th" +%bcond_without vda # without VDA patch +%else %bcond_with vda # with VDA patch +%endif %bcond_with hir # with Beeth's header_if_reject patch %bcond_with tcp # with unofficial tcp: lookup table +%if "%{pld_release}" == "ac" +%bcond_with epoll # enable epoll for 2.6 kernels +# there didn't exist x86_64 2.4 kernel in PLD, so can safely enable epoll +%ifarch %{x8664} +%define with_epoll 1 +%endif +%else %bcond_without epoll # disable epoll for 2.4 kernels +%endif %define vda_ver v11-2.9.1 Summary: Postfix Mail Transport Agent -- 2.44.0