Hello community, here is the log from the commit of package trousers for openSUSE:Factory checked in at 2020-02-10 21:52:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trousers (Old) and /work/SRC/openSUSE:Factory/.trousers.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trousers" Mon Feb 10 21:52:57 2020 rev:43 rq:769067 version:0.3.14 Changes: -------- --- /work/SRC/openSUSE:Factory/trousers/trousers.changes 2019-11-26 17:06:13.707968439 +0100 +++ /work/SRC/openSUSE:Factory/.trousers.new.26092/trousers.changes 2020-02-10 21:53:08.766181793 +0100 @@ -1,0 +2,5 @@ +Fri Jan 31 11:51:03 UTC 2020 - Michal Suchanek <[email protected]> + +- Use system-users for tss user creation (boo#1162360). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trousers.spec ++++++ --- /var/tmp/diff_new_pack.mgydqv/_old 2020-02-10 21:53:09.330182105 +0100 +++ /var/tmp/diff_new_pack.mgydqv/_new 2020-02-10 21:53:09.334182108 +0100 @@ -1,7 +1,7 @@ # # spec file for package trousers # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ Summary: TSS (TCG Software Stack) access daemon for a TPM chip License: BSD-3-Clause Group: Productivity/Security -Url: http://trousers.sourceforge.net/ +URL: http://trousers.sourceforge.net/ Source0: http://downloads.sf.net/trousers/%{name}-%{version}.tar.gz Source1: tcsd.service Source2: baselibs.conf @@ -35,7 +35,7 @@ BuildRequires: systemd-rpm-macros # for 'stat' for the hack in %pretrans BuildRequires: coreutils -Requires(pre): shadow +Requires(pre): user(tss) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -110,10 +110,6 @@ mv -v %{buildroot}/%{_lib}/*.a %{buildroot}%{_libdir} %pre -%_bindir/getent group tss >/dev/null || %{_sbindir}/groupadd -g 98 tss || : -%_bindir/getent passwd tss >/dev/null || \ - %{_sbindir}/useradd -u 98 -o -g tss -s /bin/false -c "TSS daemon" \ - -d %{tpmstatedir} tss || : %service_add_pre tcsd.service %pretrans
