From 59d94e7ffc362fd82b54bb065beedf7da232d83a Mon Sep 17 00:00:00 2001 From: Dario Faggioli Date: Tue, 20 Sep 2022 09:10:59 +0200 Subject: [PATCH] [openSUSE] meson: remove $pkgversion from CONFIG_STAMP input to broaden compatibility As part of the effort to close the gap with Leap I think we are fine removing the $pkgversion component to creating a unique CONFIG_STAMP. This stamp is only used in creating a unique symbol used in ensuring the dynamically loaded modules correspond correctly to the loading qemu. The default inputs to producing this unique symbol are somewhat reasonable as a generic mechanism, but specific packaging and maintenance practices might require the default to be modified for best use. This is an example of that. Signed-off-by: Bruce Rogers Signed-off-by: Dario Faggioli --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6c77d9687d..4b373b11e1 100644 --- a/meson.build +++ b/meson.build @@ -2077,7 +2077,7 @@ config_host_data.set_quoted('CONFIG_SYSCONFDIR', get_option('prefix') / get_opti if enable_modules config_host_data.set('CONFIG_STAMP', run_command( meson.current_source_dir() / 'scripts/qemu-stamp.py', - meson.project_version(), get_option('pkgversion'), '--', + meson.project_version(), '--', meson.current_source_dir() / 'configure', capture: true, check: true).stdout().strip()) endif