1
0
forked from pool/sysuser-tools

Accepting request 853102 from home:lnussel:branches:Base:System

- useradd_or_adduser_dep must be PreReq so ordering makes sure it gets
  installed before.
- suggest shadow where useradd_or_adduser_dep is actually required

OBS-URL: https://build.opensuse.org/request/show/853102
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=32
This commit is contained in:
Thorsten Kukuk 2020-12-07 12:26:22 +00:00 committed by Git OBS Bridge
parent 73d3e7c0eb
commit e839e06bcf
3 changed files with 11 additions and 3 deletions

View File

@ -13,8 +13,7 @@
#
###
%sysusers_requires Requires(pre): sysuser-shadow \
Suggests: shadow
%sysusers_requires Requires(pre): sysuser-shadow
%sysusers_generate_pre() \
%{_prefix}/lib/rpm/sysusers-generate-pre "%1" > "%2".pre

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Dec 4 10:54:00 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- useradd_or_adduser_dep must be PreReq so ordering makes sure it gets
installed before.
- suggest shadow where useradd_or_adduser_dep is actually required
-------------------------------------------------------------------
Fri Sep 18 10:32:53 UTC 2020 - Fabian Vogt <fvogt@suse.com>

View File

@ -38,7 +38,9 @@ Generate auto provides for system users.
%package -n sysuser-shadow
Summary: Tool to execute sysusers.d with shadow utilities
Group: System/Packages
Requires: useradd_or_adduser_dep
PreReq: useradd_or_adduser_dep
# prefer original shadow over busybox by default
Suggests: shadow
%description -n sysuser-shadow
This package contians a tool, which expects as input a sysusers.d