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