Hello community, here is the log from the commit of package syncthing for openSUSE:Factory checked in at 2019-03-19 10:02:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/syncthing (Old) and /work/SRC/openSUSE:Factory/.syncthing.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "syncthing" Tue Mar 19 10:02:43 2019 rev:81 rq:686204 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/syncthing/syncthing.changes 2019-02-28 21:43:52.173513156 +0100 +++ /work/SRC/openSUSE:Factory/.syncthing.new.28833/syncthing.changes 2019-03-19 10:02:44.899815758 +0100 @@ -1,0 +2,6 @@ +Mon Mar 18 17:21:23 UTC 2019 - Jan Engelhardt <[email protected]> + +- Do not hide errors from useradd. +- Add %systemd_ordering for %service_*. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ syncthing.spec ++++++ --- /var/tmp/diff_new_pack.HAkxd6/_old 2019-03-19 10:02:45.511815216 +0100 +++ /var/tmp/diff_new_pack.HAkxd6/_new 2019-03-19 10:02:45.511815216 +0100 @@ -30,6 +30,7 @@ BuildRequires: go >= 1.8 BuildRequires: systemd BuildRequires: systemd-rpm-macros +%{?systemd_ordering} %description Syncthing is an application that synchronises files across multiple @@ -40,6 +41,7 @@ Summary: Relay server for syncthing Group: Productivity/Networking/File-Sharing Requires(pre): pwdutils +%{?systemd_ordering} %description relaysrv Syncthing requires relay servers for NAT traversal. This package @@ -95,8 +97,10 @@ %pre relaysrv %service_add_pre strelaysrv.service -/usr/sbin/groupadd -r strelaysrv &>/dev/null ||: -/usr/sbin/useradd -g strelaysrv -s /bin/false -r -c "User for syncthing relay server" -d /var/lib/strelaysrv strelaysrv &>/dev/null ||: +getent group strelaysrv >/dev/null || /usr/sbin/groupadd -r strelaysrv +getent passwd strelaysrv >/dev/null || \ + /usr/sbin/useradd -g strelaysrv -s /bin/false -r \ + -c "User for syncthing relay server" -d /var/lib/strelaysrv strelaysrv %post %service_add_post %{name}-resume.service
