On Mon, May 27, 2019 at 02:35:26PM +0000, peter.muryshkin@xxxxxxxxxxxxxxxx wrote: > Hi, all, > > > while building an RPM under CentOS 7.6, I get the following error which I don't understand for both master branch and the v2.1.0 tag: > > > (...) > creating dist > Creating tar archive > removing 'virt-manager-2.1.0' (and everything under it) > error: line 53: Unknown tag: Recommends: (libvirt-daemon-kvm or libvirt-daemon-qemu) > > The host is a machine which has both kvm and qemu to build VM images with virt-install 1.5.0 and our team would like to use the latest version of virt-install. > > I've tried the build with python 3.6 and can also reproduce this error in Docker where of course there is no libvirt. > > Many thanks in advance for hints how to fix this and build the RPM distro. Hi Peter, There is only one possible simple fix, remove that line from the virt-manager.spec file. Support for Recommends in RPM was introduced in version 4.12.0 but the version available on CentOS 7.6 is 4.11.1. The same applies to the Suggests tag. Pavel
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list