Restore /usr/lib/rpm/sysusers.generate-pre.sh
... (rhbz#2363673)
Fixup for d70176a086. The macros were
restored, but not the helper script.
This commit is contained in:
parent
00c27a99b1
commit
ecc89e18c1
2 changed files with 6 additions and 6 deletions
|
|
@ -2,9 +2,9 @@
|
|||
#
|
||||
# Turn a sysusers.d file into macros specified by
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/#_dynamic_allocation
|
||||
#
|
||||
# After https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers,
|
||||
# those macros are not needed anymore.
|
||||
|
||||
%sysusers_requires_compat Requires(pre): shadow-utils
|
||||
|
||||
%sysusers_create_compat() \
|
||||
%(%{_rpmconfigdir}/sysusers.generate-pre.sh %{?*}) \
|
||||
%{nil}
|
||||
%sysusers_requires_compat %nil
|
||||
%sysusers_create_compat() %nil
|
||||
|
|
|
|||
|
|
@ -1064,7 +1064,7 @@ install -Dm0644 -t %{buildroot}%{_prefix}/lib/udev/rules.d/ %{SOURCE18}
|
|||
|
||||
sed -i 's|#!/usr/bin/env python3|#!%{__python3}|' %{buildroot}/usr/lib/systemd/tests/run-unit-tests.py
|
||||
|
||||
%if 0%{?fedora} >= 42
|
||||
%if 0%{?fedora} >= 43
|
||||
install -m 0644 -D %{SOURCE21} %{buildroot}%{_rpmconfigdir}/macros.d/macros.sysusers
|
||||
%else
|
||||
install -m 0644 -D %{SOURCE20} %{buildroot}%{_rpmconfigdir}/macros.d/macros.sysusers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue