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
This commit is contained in:
Dirk Mueller 2017-11-13 09:28:31 +00:00 committed by Git OBS Bridge
parent 787d766399
commit 77d8915a9e
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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