From 3ae6cb3d51b46cef4d408cc28e7e391f82f71dc5 Mon Sep 17 00:00:00 2001 From: Yong Fu Date: Wed, 27 May 2020 15:30:38 +0800 Subject: [PATCH] CentOS 8:fix qemu-keymap unpackaged for qemu-kvm build qemu-kvm: error: Installed (but unpackaged) file(s) found: /usr/bin/qemu-keymap /usr/lib/debug/usr/bin/qemu-keymap-3.0.0-0.tis.101.x86_64.debug package qemu-keymap in the qemu-kvm-common package to fix it Change-Id: Ide5b6fc03f5b3cf0695041c86184e670d1329de7 Story: 2006729 Task: 39869 Signed-off-by: Yong Fu --- virt/qemu/centos/qemu-kvm.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/virt/qemu/centos/qemu-kvm.spec b/virt/qemu/centos/qemu-kvm.spec index c63e86df0..10d696515 100644 --- a/virt/qemu/centos/qemu-kvm.spec +++ b/virt/qemu/centos/qemu-kvm.spec @@ -264,6 +264,9 @@ BuildRequires: libcap-ng-devel Requires: qemu-img%{?pkgsuffix} = %{epoch}:%{version}-%{release} +# qemu-keymap +BuildRequires: pkgconfig(xkbcommon) + # RHEV-specific changes: # We provide special suffix for qemu-kvm so the conflit is easy # In addition, RHEV version should obsolete all RHEL version in case both @@ -768,6 +771,7 @@ exit 0 %doc %{qemudocdir}/qmp-spec.txt %doc %{qemudocdir}/qemu-qmp-ref.html %doc %{qemudocdir}/qemu-qmp-ref.txt +%{_bindir}/qemu-keymap %dir %{_datadir}/%{pkgname}/ %{_datadir}/%{pkgname}/keymaps/