From 9c05b44a4b8922cdd4671298107e067302509afc Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Jun 26 2023 14:39:41 +0000 Subject: 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. --- diff --git a/systemd.spec b/systemd.spec index 158ef06..ccb75b6 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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