From 8d35940867af42d2105e5bc5fffd1afafb2574fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 15 Nov 2024 22:05:21 +0100 Subject: [PATCH 1/2] Change sysusers u! lines to u because we don't have support in rpm (cherry picked from commit 7bd1d09f7fd16d20a041de0eb9af7cc8dbef6a99) Resolves: RHEL-129788 --- systemd.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/systemd.spec b/systemd.spec index a800fe6..2e68944 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1044,6 +1044,10 @@ useful to test systemd internals. %prep %autosetup -S git +# Disable user lockdown until rpm implements it natively. +# https://github.com/rpm-software-management/rpm/issues/3450 +sed -r -i 's/^u!/u/' sysusers.d/*.conf* + %build %global ntpvendor %(source /etc/os-release; echo ${ID}) %{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1} From 1cfb37dfb92cd3928b15373e822d09a49c04280c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Thu, 20 Nov 2025 09:48:31 +0100 Subject: [PATCH 2/2] spec: ukify: add requires on python3-zstandard Resolves: RHEL-103523 --- systemd.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/systemd.spec b/systemd.spec index 2e68944..d2cec23 100644 --- a/systemd.spec +++ b/systemd.spec @@ -48,7 +48,7 @@ Url: https://systemd.io # Allow users to specify the version and release when building the rpm by # setting the %%version_override and %%release_override macros. Version: %{?version_override}%{!?version_override:257} -Release: 17%{?dist} +Release: 18%{?dist} %global stable %(c="%version"; [ "$c" = "${c#*.*}" ]; echo $?) @@ -925,7 +925,7 @@ Requires: (systemd-boot if %{shrink:( filesystem(riscv64) )}) Requires: python3dist(pefile) -Requires: python3dist(zstd) +Requires: python3dist(zstandard) Requires: python3dist(cryptography) %if %{undefined rhel} Recommends: python3dist(pillow) @@ -1544,6 +1544,9 @@ rm -f .file-list-* rm -f %{name}.lang %changelog +* Thu Nov 20 2025 Lukáš Zaoral - 257-18 +- spec: ukify: require python3-zstandard (RHEL-103523) + * Wed Nov 05 2025 systemd maintenance team - 257-17 - pam_systemd: honor session class provided via PAM environment (RHEL-109832) - udev/net_id: introduce naming scheme for RHEL-10.2 (RHEL-72813)