Hello community,

here is the log from the commit of package dovecot23 for openSUSE:Factory 
checked in at 2020-11-19 12:00:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dovecot23 (Old)
 and      /work/SRC/openSUSE:Factory/.dovecot23.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dovecot23"

Thu Nov 19 12:00:16 2020 rev:34 rq:849256 version:2.3.11.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/dovecot23/dovecot23.changes      2020-09-15 
16:35:47.863028051 +0200
+++ /work/SRC/openSUSE:Factory/.dovecot23.new.5913/dovecot23.changes    
2020-11-23 10:25:21.161014968 +0100
@@ -1,0 +2,7 @@
+Wed Nov  4 15:29:48 UTC 2020 - Thorsten Kukuk <ku...@suse.com>
+
+- dovecot is already creating the user accounts, no need to duplicate
+  the code as this package does not need them.
+- Don't hard require systemd
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dovecot23.spec ++++++
--- /var/tmp/diff_new_pack.5Ao8Yr/_old  2020-11-23 10:25:21.929015835 +0100
+++ /var/tmp/diff_new_pack.5Ao8Yr/_new  2020-11-23 10:25:21.929015835 +0100
@@ -114,10 +114,10 @@
 %endif
 %if %{with systemd}
 BuildRequires:  pkgconfig(systemd)
-%{?systemd_requires}
+%{?systemd_ordering}
 %define has_systemd 1
 %endif
-PreReq:         shadow %fillup_prereq
+PreReq:         %fillup_prereq
 # bump requires on noarch package to the version which copies the files from 
/usr/share/dovecot/
 Requires:       dovecot >= 2.3
 Conflicts:      otherproviders(dovecot-implementation)
@@ -461,16 +461,8 @@
 rm %{buildroot}%{_sysconfdir}/%{pkg_name}/README
 
 %pre
-test -n "$FIRST_ARG" || FIRST_ARG=$1
-getent group %{pkg_name} >/dev/null || /usr/sbin/groupadd -r %{pkg_name}
-getent passwd %{pkg_name} >/dev/null || \
-       /usr/sbin/useradd -g %{pkg_name} -s /bin/false -r \
-       -c "User for Dovecot imapd" -d %{_var}/run/%{pkg_name} %{pkg_name}
-getent passwd dovenull >/dev/null || \
-       /usr/sbin/useradd -g %{pkg_name} -s /bin/false -r \
-       -c "User for Dovecot login" -d %{_var}/run/%{pkg_name} dovenull
 # do not let dovecot run during upgrade rhbz#134325
-if [ "$FIRST_ARG" -ge "1" ]; then
+if [ "$1" -ge "1" ]; then
   rm -f %restart_flag
   %if %{with systemd}
     # we get installed before the unversioned dovecot package is installed
@@ -496,10 +488,9 @@
 %post -p /sbin/ldconfig
 
 %postun
-test -n "$FIRST_ARG" || FIRST_ARG=$1
 /sbin/ldconfig
 # do not let dovecot run during upgrade rhbz#134325
-if [ "$FIRST_ARG" -ge "1" -a -e %restart_flag ]; then
+if [ "$1" -ge "1" -a -e %restart_flag ]; then
   %if %{with systemd}
     # we get installed before the unversioned dovecot package is installed
     # in that case we dont need to restart as there was no file to start us 
before
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to