Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package atftp for openSUSE:Factory checked 
in at 2021-02-04 20:21:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/atftp (Old)
 and      /work/SRC/openSUSE:Factory/.atftp.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "atftp"

Thu Feb  4 20:21:48 2021 rev:39 rq:867907 version:0.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/atftp/atftp.changes      2020-10-29 
09:21:37.182648260 +0100
+++ /work/SRC/openSUSE:Factory/.atftp.new.28504/atftp.changes   2021-02-04 
20:21:50.378622133 +0100
@@ -1,0 +2,5 @@
+Thu Jan 21 08:30:09 UTC 2021 - Thorsten Kukuk <ku...@suse.com>
+
+- Use system wide tftp user/group, don't create them again
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ atftp.spec ++++++
--- /var/tmp/diff_new_pack.rIIXVW/_old  2021-02-04 20:21:51.066623181 +0100
+++ /var/tmp/diff_new_pack.rIIXVW/_new  2021-02-04 20:21:51.066623181 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package atftp
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -52,14 +52,13 @@
 BuildRequires:  readline-devel
 BuildRequires:  tcpd-devel
 Requires(pre):  %fillup_prereq
-Requires(pre):  pwdutils
+Requires(pre):  user(tftp) group(tftp)
 Recommends:     logrotate
 Conflicts:      tftp
 Provides:       tftp(client)
 Provides:       tftp(server)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  systemd-rpm-macros
-%{?systemd_requires}
 
 %description
 atftp stands for Advanced Trivial File Transfer Protocol. It is called
@@ -98,13 +97,6 @@
 install -d -m 0750 %{buildroot}%{_localstatedir}/log/atftpd
 
 %pre
-# This group/user is shared with tftp, so please
-# keep this in sync with tftp.spec
-# add group
-%{_sbindir}/groupadd -r tftp 2>/dev/null || :
-# add user
-%{_sbindir}/useradd -c "TFTP account" -d /srv/tftpboot -G tftp -g tftp \
-  -r -s /bin/false tftp 2>/dev/null || :
 # fix sysconfig to get new defaults on Update
 if [ -f %{_sysconfdir}/sysconfig/atftpd ]; then
   sed -i -e "s@^\(ATFTPD_OPTIONS=\"--daemon \"\)@#\1@" 
%{_sysconfdir}/sysconfig/atftpd

Reply via email to