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:
Yaakov Selkowitz 2023-06-26 10:39:41 -04:00
parent dce828f167
commit 9c05b44a4b
1 changed files with 1 additions and 1 deletions

View File

@ -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