From 77d8915a9e6945fa5677424b9711e051e5dfae1d55ba5b60b1aa2bca01e7f3fc Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 13 Nov 2017 09:28:31 +0000 Subject: [PATCH] Accepting request 539853 from home:kukuk:branches:server:mail - 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. OBS-URL: https://build.opensuse.org/request/show/539853 OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=286 --- postfix.changes | 8 ++++++++ postfix.spec | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) 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