From 39b159d67c16cacab2eef41b9ee26d1b9fce4ae8 Mon Sep 17 00:00:00 2001 From: Torsten Wierschin Date: Fri, 9 Oct 2026 15:16:08 +0000 Subject: [PATCH] Exclude LtsUtilsGuiDds from release scope (requires DDS headers) - LtsUtilsGuiDds depends on DDS/Core headers not in release scope - Only needed by LtsMultiMonitor which is outside release scope - Prevents compilation errors during DEB package build Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- make_rpm_ubuntu26.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/make_rpm_ubuntu26.py b/make_rpm_ubuntu26.py index 6ed7b98..21f64ca 100755 --- a/make_rpm_ubuntu26.py +++ b/make_rpm_ubuntu26.py @@ -142,8 +142,11 @@ def copy_src_dir_to_dest_dir(srcdir, dstdir, perm=None, with_subdirs=True, relea # In Lts directory, only keep Common dirs[:] = [d for d in dirs if d == 'Common'] elif rel_root.startswith('Lts/Common'): - # Keep all subdirectories under Lts/Common - pass + # Keep all subdirectories under Lts/Common except LtsUtilsGuiDds (requires DDS) + if rel_root == 'Lts/Common/LtsUtils/LtsUtilsGui': + dirs[:] = [d for d in dirs if d != 'LtsUtilsGuiDds'] + else: + pass elif rel_root.startswith('Z/src'): # Keep all subdirectories under Z/src pass