[virt-tools-list] [Patch] fix some errors when building rpm package

Cole Robinson crobinso at redhat.com
Tue Nov 30 15:46:25 UTC 2010

On 11/29/2010 09:35 PM, Wen Congyang wrote:
> # HG changeset patch
> # User Wen Congyang <wency at cn.fujitsu.com>
> # Date 1291014041 -28800
> # Node ID 798bc17bf986100a86d47058d8ddd8c9ebe6e59c
> # Parent  f2d5683fb5edd8e24855637b92ea5ff580f734cc
> fix some errors when building rpm package
> When I build rpm package from souce, I receive the following
> error message:
> RPM build errors:
>     File not found by glob: /home/wency/rpmbuild/BUILDROOT/virt-manager-0.8.5-1.el6.x86_64/usr/share/virt-manager/pixmaps/hicolor/*/*/*.png
> STEP to build rpm package:
> 1. ./autobuild.sh

Actually autobuild isn't meant to be run by hand. I've pushed a patch
now to make this more clear, along with simple INSTALL instructions.

> The environment variable AUTOBUILD_INSTALL_ROOT is not defined.
> In this patch, I also add virt-manager-tui into %files.

Actually we want TUI to eventually be a separate RPM package, so it can
be installed without pulling in GTK etc.

In the interim, I added a configure option to disable installing the
TUI, and which the spec file now uses, so RPM builds should be fixed.
Thanks for the report/patch.

- Cole

More information about the virt-tools-list mailing list