Hello community,

here is the log from the commit of package postfix for openSUSE:Factory checked 
in at 2017-04-07 14:17:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/postfix (Old)
 and      /work/SRC/openSUSE:Factory/.postfix.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "postfix"

Fri Apr  7 14:17:35 2017 rev:140 rq:481845 version:3.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/postfix/postfix.changes  2017-03-10 
21:45:32.720920087 +0100
+++ /work/SRC/openSUSE:Factory/.postfix.new/postfix.changes     2017-04-07 
14:17:39.025177429 +0200
@@ -1,0 +2,6 @@
+Mon Mar 20 18:01:36 CET 2017 - [email protected]
+
+- Require system group mail
+- Use mail group name instead of GID
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ postfix.spec ++++++
--- /var/tmp/diff_new_pack.VBRh2d/_old  2017-04-07 14:17:40.660946433 +0200
+++ /var/tmp/diff_new_pack.VBRh2d/_new  2017-04-07 14:17:40.660946433 +0200
@@ -42,7 +42,7 @@
 %define pf_uid               51
 %define pf_gid               51
 %define maildrop_gid         59
-%define mail_gid            12
+%define mail_group          mail
 %define conf_backup_dir      %{_localstatedir}/adm/backup/%{name}
 %define omc_pdir             %{_datadir}/omc/
 %define omc_dir              %{_datadir}/omc/svcinfo.d/
@@ -107,6 +107,9 @@
 %if 0%{?suse_version} >= 1100
 BuildRequires:  fdupes
 %endif
+%if 0%{?suse_version} >= 1330
+Requires(pre):  group(%{mail_group})
+%endif
 %if 0%{?suse_version} > 1210
 BuildRequires:  systemd
 %{?systemd_requires}
@@ -247,7 +250,7 @@
 groupadd -g %{pf_gid} -o -r %{name} 2> /dev/null || :
 groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || :
 useradd -r -o -g %{name} -u %{pf_uid} -s /bin/false -c "Postfix Daemon" -d 
/%{pf_queue_directory} %{name} 2> /dev/null || :
-usermod -G %{maildrop_gid},%{mail_gid} %{name} 2> /dev/null || :
+usermod -G %{maildrop_gid},%{mail_group} %{name} 2> /dev/null || :
 mkdir -p %{buildroot}/%{_libdir}
 mkdir -p %{buildroot}/etc/postfix
 cp conf/* %{buildroot}/etc/postfix/
@@ -401,7 +404,7 @@
 getent group %{name} >/dev/null || groupadd -g %{pf_gid} -o -r %{name}
 getent group maildrop >/dev/null || groupadd -g %{maildrop_gid} -o -r maildrop
 getent passwd %{name} >/dev/null || useradd -r -o -g %{name} -u %{pf_uid} -s 
/bin/false -c "Postfix Daemon" -d /%{pf_queue_directory} %{name}
-usermod -G %{maildrop_gid},%{mail_gid} %{name}
+usermod -G %{maildrop_gid},%{mail_group} %{name}
 # ---------------------------------------------------------------------------
 
 %pre mysql


Reply via email to