Add the sysusers compat parts
This commit is contained in:
parent
9434e617a6
commit
ced9237a14
6 changed files with 135 additions and 3 deletions
10
macros.sysusers
Normal file
10
macros.sysusers
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# RPM macros for packages creating system accounts
|
||||
#
|
||||
# Turn a sysusers.d file into macros specified by
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/#_dynamic_allocation
|
||||
|
||||
%sysusers_requires_compat Requires(pre): shadow-utils
|
||||
|
||||
%sysusers_create_compat() \
|
||||
%(%{_rpmconfigdir}/sysusers.generate-pre.sh %{?*}) \
|
||||
%{nil}
|
||||
Loading…
Reference in a new issue