Fix meson parameter error (rhbz #2113755)

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2022-08-02 13:55:34 +01:00
parent 396a37a3d6
commit 6b5ff24bd9
2 changed files with 55 additions and 1 deletions

View File

@ -0,0 +1,50 @@
From 98d9f202ef768f22ae21b5c43a080a1aa64a7107 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
Date: Tue, 26 Apr 2022 17:36:54 +0100
Subject: [PATCH] data: remove bogus param for meson i18n.merge_file
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The positional parameter used to be treated as 'input', but since we
already set 'input' explicitly it is redundant. With latest meson
versions it now generates an error
data/meson.build:4:7: ERROR: Function does not take positional arguments.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
data/meson.build | 3 ---
1 file changed, 3 deletions(-)
diff --git a/data/meson.build b/data/meson.build
index d718491..4325108 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -2,7 +2,6 @@ if host_machine.system() != 'windows'
desktop = 'remote-viewer.desktop'
i18n.merge_file (
- desktop,
type: 'desktop',
input: desktop + '.in',
output: desktop,
@@ -14,7 +13,6 @@ if host_machine.system() != 'windows'
mimetypes = 'virt-viewer-mime.xml'
i18n.merge_file (
- mimetypes,
type: 'xml',
input: mimetypes + '.in',
output: mimetypes,
@@ -27,7 +25,6 @@ if host_machine.system() != 'windows'
metainfo = 'remote-viewer.appdata.xml'
i18n.merge_file (
- metainfo,
type: 'xml',
input: metainfo + '.in',
output: metainfo,
--
2.37.1

View File

@ -10,11 +10,12 @@
Name: virt-viewer
Version: 11.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Virtual Machine Viewer
License: GPLv2+
URL: https://gitlab.com/virt-viewer/virt-viewer
Source0: https://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.xz
Patch: 0001-data-remove-bogus-param-for-meson-i18n.merge_file.patch
Requires: openssh-clients
# Our bash completion script uses virsh to list domains
@ -87,6 +88,9 @@ the display, and libvirt for looking up VNC/SPICE server details.
%{_datadir}/bash-completion/completions/virt-viewer
%changelog
* Tue Aug 2 2022 Daniel P. Berrangé <berrange@redhat.com> - 11.0-4
- Fix meson parameter error (rhbz #2113755)
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 11.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild