X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=postfix.spec;h=8924b7330652e2d80d893055ce0bc7f23dbfc67f;hb=ddd743732b9bba18578b6896967631ac6c1d1a59;hp=7abaf8d3807f520a7a629f1940f12f67eb658bf0;hpb=bb11d011f6265b67f422f3b87ddedff187ce3118;p=packages%2Fpostfix.git diff --git a/postfix.spec b/postfix.spec index 7abaf8d..8924b73 100644 --- a/postfix.spec +++ b/postfix.spec @@ -7,22 +7,10 @@ %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 @@ -33,13 +21,13 @@ Summary(pl.UTF-8): Serwer SMTP Postfix Summary(pt_BR.UTF-8): Postfix - Um MTA (Mail Transport Agent) de alto desempenho Summary(sk.UTF-8): Agent prenosu pošty Postfix Name: postfix -Version: 2.9.6 -Release: 1 +Version: 2.10.0 +Release: 4 Epoch: 2 License: distributable Group: Networking/Daemons/SMTP Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz -# Source0-md5: 62eba08ce4acfa6b421e8fa88f2422d1 +# Source0-md5: b2a563b2d5c53462952886e6fc4e4b7b Source1: %{name}.aliases Source2: %{name}.cron Source3: %{name}.init @@ -403,14 +391,14 @@ fi %{_bindir}/newaliases /sbin/chkconfig --add postfix %service postfix restart "Postfix Daemon" -%systemd_post +#%%systemd_post %preun if [ "$1" = "0" ]; then %service postfix stop /sbin/chkconfig --del postfix fi -%systemd_preun +#%%systemd_preun %postun /sbin/ldconfig @@ -419,7 +407,7 @@ if [ "$1" = "0" ]; then %userremove postfix %groupremove postfix fi -%systemd_postun +#%%systemd_postun %files %defattr(644,root,root,755)