From 9c62b00c87d5e132896711120746a93387964c28 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Mon, 29 Jul 2024 09:32:02 +0200 Subject: [PATCH] fix updgrade from versions before removal of systemd-ssh-generator follow-up to https://gitlab.com/redhat/centos-stream/rpms/systemd/-/commit/9bbf93829f646ff24323265017cc305fb5d2be2e Resolves: RHEL-50131 --- systemd.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/systemd.spec b/systemd.spec index d91969e..fa069f3 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:256} -Release: 9%{?dist} +Release: 10%{?dist} %global stable %(c="%version"; [ "$c" = "${c#*.*}" ]; echo $?) @@ -961,7 +961,7 @@ systemctl daemon-reexec || : %triggerpostun -- systemd < 256-9 if [ -L /etc/ssh/sshd_config.d/20-systemd-userdb.conf ] && \ - [ "$(readlink -f /etc/ssh/sshd_config.d/20-systemd-userdb.conf)" = "/usr/lib/systemd/sshd_config.d/20-systemd-userdb.conf" ] ; then + [ "$(readlink -m /etc/ssh/sshd_config.d/20-systemd-userdb.conf)" = "/usr/lib/systemd/sshd_config.d/20-systemd-userdb.conf" ] ; then rm -f /etc/ssh/sshd_config.d/20-systemd-userdb.conf || : fi @@ -1106,6 +1106,9 @@ rm -f .file-list-* rm -f %{name}.lang %changelog +* Mon Jul 29 2024 systemd maintenance team - 256-10 +- fix updgrade from versions before removal of systemd-ssh-generator - follow-up (RHEL-50131) + * Thu Jul 25 2024 systemd maintenance team - 256-9 - fix updgrade from versions before removal of systemd-ssh-generator (RHEL-50131)