Hello community,

here is the log from the commit of package apt-cacher-ng for openSUSE:Factory 
checked in at 2019-03-19 10:03:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apt-cacher-ng (Old)
 and      /work/SRC/openSUSE:Factory/.apt-cacher-ng.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apt-cacher-ng"

Tue Mar 19 10:03:42 2019 rev:4 rq:686309 version:3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/apt-cacher-ng/apt-cacher-ng.changes      
2017-12-08 12:58:59.830198237 +0100
+++ /work/SRC/openSUSE:Factory/.apt-cacher-ng.new.28833/apt-cacher-ng.changes   
2019-03-19 10:03:51.455754494 +0100
@@ -1,0 +2,6 @@
+Mon Mar 18 21:45:37 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Do not hide errors from useradd.
+- Reduce scriptlets' hard dependency on systemd.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ apt-cacher-ng.spec ++++++
--- /var/tmp/diff_new_pack.wKegp1/_old  2019-03-19 10:03:52.111753889 +0100
+++ /var/tmp/diff_new_pack.wKegp1/_new  2019-03-19 10:03:52.111753889 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apt-cacher-ng
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -40,7 +40,7 @@
 Requires(pre):  pwdutils
 Suggests:       cron
 Suggests:       logrotate
-%{?systemd_requires}
+%{?systemd_ordering}
 
 %description
 Apt-Cacher NG is a caching proxy for downloading packages from Debian-style
@@ -90,9 +90,11 @@
 install -m 644 -D %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
 
 %pre
-%{_sbindir}/groupadd -r apt-cacher-ng &>/dev/null || :
-%{_sbindir}/useradd -r -M -g apt-cacher-ng -s /sbin/nologin \
-    -c "apt-cacher-ng proxy" apt-cacher-ng &> /dev/null || :
+getent group apt-cacher-ng >/dev/null || \
+       %{_sbindir}/groupadd -r apt-cacher-ng
+getent passwd apt-cacher-ng >/dev/null || \
+       %{_sbindir}/useradd -r -M -g apt-cacher-ng -s /sbin/nologin \
+       -c "apt-cacher-ng proxy" apt-cacher-ng
 %service_add_pre apt-cacher-ng.service
 
 %post


Reply via email to