virt-manager/scripts/meson_dist.py
Pavel Hrdina 1f80a62239 meson: rename and modify spec file
We will create the final spec file by meson to have virt-manager version
in single place.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00

14 lines
293 B
Python

#!/usr/bin/env python3
import os
import shutil
import sys
file_name = sys.argv[1]
meson_build_root = os.environ['MESON_BUILD_ROOT']
meson_dist_root = os.environ['MESON_DIST_ROOT']
shutil.copy(os.path.join(meson_build_root, file_name),
os.path.join(meson_dist_root, file_name))