From 514bee30f2a09d50cc9e5077e8643555f39c0395 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 11 Apr 2025 14:53:22 +0200 Subject: [PATCH] Fix the pretrans script for symlink swap (sof-ace-tplg <-> sof-ipc4-tplg) Resolves: RHEL-86911 Signed-off-by: Jaroslav Kysela --- alsa-sof-firmware.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/alsa-sof-firmware.spec b/alsa-sof-firmware.spec index 60500ff..8376bdb 100644 --- a/alsa-sof-firmware.spec +++ b/alsa-sof-firmware.spec @@ -18,7 +18,7 @@ Summary: Firmware and topology files for Sound Open Firmware project Name: alsa-sof-firmware Version: %{sof_ver} -Release: 2%{?sof_ver_rel}%{?dist} +Release: 3%{?sof_ver_rel}%{?dist} # See later in the spec for a breakdown of licensing License: BSD-3-Clause URL: https://github.com/thesofproject/sof-bin @@ -158,10 +158,15 @@ path1 = "%{_firmwarepath}/intel/sof-ace-tplg" path2 = "%{_firmwarepath}/intel/sof-ipc4-tplg" st = posix.stat(path1) if st and st.type == "directory" then + os.rename(path2, path2 .. ".tmp") os.rename(path1, path2) + os.rename(path2 .. ".tmp", path1) end %changelog +* Mon Apr 14 2025 Jaroslav Kysela - 2024.09.2-3 +- fix the pretrans script for symlink swap (sof-ace-tplg <-> sof-ipc4-tplg) + * Wed Dec 18 2024 Jaroslav Kysela - 2024.09.2-2 - Add sof-ipc4-lib directory