Accepting request 559676 from home:darix:playground

- bump recommends to 2.3

- copy example config from /usr/share/dovecot/example-config/
  instead of the documentation directory. (boo#1070871)

OBS-URL: https://build.opensuse.org/request/show/559676
OBS-URL: https://build.opensuse.org/package/show/server:mail/dovecot?expand=0&rev=12
This commit is contained in:
Marcus Rückert 2017-12-24 02:20:59 +00:00 committed by Git OBS Bridge
parent cf3cf58a88
commit 38b804cbbb
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Dec 24 02:10:16 UTC 2017 - mrueckert@suse.de
- bump recommends to 2.3
-------------------------------------------------------------------
Sun Dec 24 02:07:20 UTC 2017 - mrueckert@suse.de
- copy example config from /usr/share/dovecot/example-config/
instead of the documentation directory. (boo#1070871)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 20 11:24:54 UTC 2017 - mrueckert@suse.de Wed Dec 20 11:24:54 UTC 2017 - mrueckert@suse.de

View File

@ -30,7 +30,7 @@ License: BSD-3-Clause and LGPL-2.1+ and MIT
Group: Productivity/Networking/Email/Servers Group: Productivity/Networking/Email/Servers
Url: http://www.dovecot.org/ Url: http://www.dovecot.org/
PreReq: dovecot-implementation PreReq: dovecot-implementation
Recommends: dovecot22 Recommends: dovecot23
#!BuildIgnore: dovecot-implementation #!BuildIgnore: dovecot-implementation
%if %{with systemd} %if %{with systemd}
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
@ -109,10 +109,10 @@ install -D -m 0644 %{S:9} %{buildroot}%{_unitdir}/dovecot.socket
# we fail silently if the dovecot-implementation package is not # we fail silently if the dovecot-implementation package is not
# installed yet. This allows us to break a little build loop between # installed yet. This allows us to break a little build loop between
# dovecot and dovecotXY. # dovecot and dovecotXY.
if [ ! -e /etc/dovecot/dovecot.conf -a -e /usr/share/doc/packages/dovecot/example-config/dovecot.conf ] ; then if [ ! -e %{_sysconfdir}/%{name}/dovecot.conf -a -e %{_datadir}/%{name}/example-config/dovecot.conf ] ; then
# install default config # install default config
echo "Did not find a /etc/dovecot/dovecot.conf. copying default configuration" echo "Did not find a /etc/dovecot/dovecot.conf. copying default configuration"
cp -na %{_docdir}/%{name}/example-config/* %{_sysconfdir}/%{name}/ cp -na %{_datadir}/%{name}/example-config/* %{_sysconfdir}/%{name}/
# the chmod breaks the lda. lets use the more open permissions # the chmod breaks the lda. lets use the more open permissions
#chmod -Rv o= %{_sysconfdir}/%{name}/ #chmod -Rv o= %{_sysconfdir}/%{name}/
fi fi