[libvirt] [PATCH v2] Requires gettext for client package
Eric Blake
eblake at redhat.com
Thu Feb 17 20:12:09 UTC 2011
On 02/17/2011 03:05 AM, Osier Yang wrote:
> libvirt-guests invokes functions in gettext.sh, so we need to
> require gettext package in spec file.
>
> Demo with the fix:
> % rpm -q gettext
> package gettext is not installed
>
> % rpm -ivh libvirt-client-0.8.8-1.fc14.x86_64.rpm
> error: Failed dependencies:
> gettext is needed by libvirt-client-0.8.8-1.fc14.x86_64
>
> +++ b/libvirt.spec.in
> @@ -415,6 +415,7 @@ Requires: ncurses
> # So remote clients can access libvirt over SSH tunnel
> # (client invokes 'nc' against the UNIX socket on the server)
> Requires: nc
[note to self - it might be possible to drop the nc dependency in the
future, once I finish my conversion from -migration exec: to -migration
fd:, since the spec file only targets distros with new-enough qemu
0.12.0 or newer; nc would still be needed for qemu 0.10.0, though]
> +Requires: gettext
Maybe worth adding a comment before this line, justifying the requires
(just like we did before the nc requirement):
# Needed by libvirt-guests init script
ACK with that nit addressed.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110217/cd163bc6/attachment-0001.sig>
More information about the libvir-list
mailing list