diff --git a/postfix.changes b/postfix.changes index e004280..02319c0 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Nov 8 13:32:28 CET 2017 - kukuk@suse.de + +- Don't mark postfix.service as config file, this is no config + file. +- Some of the Requires(pre) are needed for post-install and at + runtime, fix the requires. + ------------------------------------------------------------------- Mon Oct 30 12:12:08 UTC 2017 - michael@stroeder.com diff --git a/postfix.spec b/postfix.spec index 3e3a6f6..742ccd2 100644 --- a/postfix.spec +++ b/postfix.spec @@ -104,6 +104,7 @@ BuildRequires: postgresql-devel BuildRequires: shadow Requires: iproute2 Requires(pre): permissions +Requires(post): permissions Requires(pre): %fillup_prereq Requires(pre): shadow Provides: smtp_daemon @@ -118,6 +119,7 @@ BuildRequires: fdupes %endif %if 0%{?suse_version} >= 1330 Requires(pre): group(%{mail_group}) +Requires: group(%{mail_group}) %endif %if 0%{?suse_version} > 1210 BuildRequires: systemd @@ -613,7 +615,7 @@ fi %if 0%{?suse_version} >= 1210 %dir %{_sysconfdir}/postfix/system %config %attr(0755,root,root) %{_sysconfdir}/postfix/system/* -%config %{_unitdir}/system/postfix.service +%{_unitdir}/system/postfix.service %else %config %attr(0755,root,root) %{_initddir}/%{name} %endif