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 <fuyong@neusoft.com>
This commit is contained in:
Yong Fu 2020-05-27 15:30:38 +08:00
parent e4d12decc4
commit 3ae6cb3d51

View File

@ -264,6 +264,9 @@ BuildRequires: libcap-ng-devel
Requires: qemu-img%{?pkgsuffix} = %{epoch}:%{version}-%{release} Requires: qemu-img%{?pkgsuffix} = %{epoch}:%{version}-%{release}
# qemu-keymap
BuildRequires: pkgconfig(xkbcommon)
# RHEV-specific changes: # RHEV-specific changes:
# We provide special suffix for qemu-kvm so the conflit is easy # We provide special suffix for qemu-kvm so the conflit is easy
# In addition, RHEV version should obsolete all RHEL version in case both # 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}/qmp-spec.txt
%doc %{qemudocdir}/qemu-qmp-ref.html %doc %{qemudocdir}/qemu-qmp-ref.html
%doc %{qemudocdir}/qemu-qmp-ref.txt %doc %{qemudocdir}/qemu-qmp-ref.txt
%{_bindir}/qemu-keymap
%dir %{_datadir}/%{pkgname}/ %dir %{_datadir}/%{pkgname}/
%{_datadir}/%{pkgname}/keymaps/ %{_datadir}/%{pkgname}/keymaps/