[libvirt] [PATCH] Requires gettext for client package

2011-02-17 Thread Osier Yang
libvirt-guests invokes functions in gettext.sh, so we need to
require gettext package in spec file.

Demo with the fix:
package gettext is not installed

error: Failed dependencies:
gettext is needed by libvirt-client-0.8.8-1.fc14.x86_64

* libvirt.spec.in
---
 libvirt.spec.in |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index d4208e8..c4b4e7f 100644
--- a/libvirt.spec.in
+++ 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
+Requires: gettext
 %if %{with_sasl}
 Requires: cyrus-sasl
 # Not technically required, but makes 'out-of-box' config
--
1.7.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] [PATCH] Requires gettext for client package

2011-02-17 Thread Osier Yang

于 2011年02月17日 18:02, Osier Yang 写道:

libvirt-guests invokes functions in gettext.sh, so we need to
require gettext package in spec file.

Demo with the fix:
package gettext is not installed

error: Failed dependencies:
gettext is needed by libvirt-client-0.8.8-1.fc14.x86_64


Urgh, please skip this patch, # is eaten, v2 comes following.



* libvirt.spec.in
---
  libvirt.spec.in |1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index d4208e8..c4b4e7f 100644
--- a/libvirt.spec.in
+++ 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
+Requires: gettext
  %if %{with_sasl}
  Requires: cyrus-sasl
  # Not technically required, but makes 'out-of-box' config
--
1.7.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list