diff --git a/fixlet-systemd-post.sh b/fixlet-systemd-post.sh index bfccf634..7a111937 100644 --- a/fixlet-systemd-post.sh +++ b/fixlet-systemd-post.sh @@ -252,9 +252,9 @@ fix_bsc_1020601() { # Note: run at each package update. # fix_issue_11329() { - if [ -L %{_localstatedir}/lib/systemd/timesync ]; then - rm %{_localstatedir}/lib/systemd/timesync - mv %{_localstatedir}/lib/private/systemd/timesync %{_localstatedir}/lib/systemd/timesync + if [ -L /var/lib/systemd/timesync ]; then + rm /var/lib/systemd/timesync + mv /var/lib/private/systemd/timesync /var/lib/systemd/timesync fi } diff --git a/systemd.changes b/systemd.changes index 10da63ff..752e342a 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 12 18:28:07 UTC 2023 - Franck Bui + +- fixlet-systemd-post.sh: fix invalid use of rpm macro %{_localstatedir} + ------------------------------------------------------------------- Mon Sep 11 07:54:35 UTC 2023 - Franck Bui