[Spice-devel] [PATCH spice-server] fixup! Update gitlab-ci to use meson
Eduardo Lima (Etrunko)
etrunko at redhat.com
Wed Jul 25 15:59:07 UTC 2018
On 25/07/18 06:36, Frediano Ziglio wrote:
> Fix printf command.
> Version is not used as a quoted string but as a number
> (see resulting spice-version.h)
Good catch, thanks.
> ---
> server/meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/server/meson.build b/server/meson.build
> index 707551e5b..0b89acb04 100644
> --- a/server/meson.build
> +++ b/server/meson.build
> @@ -11,7 +11,7 @@ if not version_info[3].contains('git')
> micro += 1
> endif
> micro = '@0@'.format(micro)
> -cmd = run_command('printf', ['"0x%02x%02x%02x"', major, minor, micro], check : true)
> +cmd = run_command('printf', ['0x%02x%02x%02x', major, minor, micro], check : true)
> version_data = configuration_data()
> version_data.set('SPICE_SERVER_VERSION', cmd.stdout().strip())
> spice_version_h = configure_file(input : 'spice-version.h.in',
>
--
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko at redhat.com
More information about the Spice-devel
mailing list