X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=postfix.spec;h=8924b7330652e2d80d893055ce0bc7f23dbfc67f;hb=ddd743732b9bba18578b6896967631ac6c1d1a59;hp=e46be49417f32b5b24c40e8636df179f09ca1169;hpb=e2a18a74cfad1a09bea3c679bbfd3052e43ccbab;p=packages%2Fpostfix.git diff --git a/postfix.spec b/postfix.spec index e46be49..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 @@ -34,7 +22,7 @@ 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.10.0 -Release: 1 +Release: 4 Epoch: 2 License: distributable Group: Networking/Daemons/SMTP @@ -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)