Use rpm sysuser provide generation on RHEL >= 10
ELN, and as a result the future RHEL 10, also just got the new rpm version with these files.
This commit is contained in:
parent
dce828f167
commit
9c05b44a4b
@ -790,7 +790,7 @@ sed -i 's|#!/usr/bin/env python3|#!%{__python3}|' %{buildroot}/usr/lib/systemd/t
|
||||
|
||||
install -m 0644 -D -t %{buildroot}%{_rpmconfigdir}/macros.d/ %{SOURCE21}
|
||||
# Use rpm's own sysusers provides where available
|
||||
%if 0%{?fedora} < 39
|
||||
%if ! (0%{?fedora} >= 39 || 0%{?rhel} >= 10)
|
||||
install -m 0644 -D -t %{buildroot}%{_rpmconfigdir}/fileattrs/ %{SOURCE22}
|
||||
install -m 0755 -D -t %{buildroot}%{_rpmconfigdir}/ %{SOURCE23}
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user