[libvirt] [PATCH] rpm: require radvd when building network support

Eric Blake eblake at redhat.com
Wed Mar 23 14:58:17 UTC 2011


Otherwise, attempts to use ipv6 will fail with:

error: Failed to start network ipv6net
error: Cannot find radvd - Possibly the package isn't installed: No such file
or directory

* libvirt.spec.in (with_network): Require radvd.
---

v2: also add runtime requirement, and drop junk .gnulib and with_ipv6
cruft that snuck into v1

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

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 4a62c80..7aa7037 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -238,6 +238,7 @@ Requires: bridge-utils
 %if %{with_network}
 Requires: dnsmasq >= 2.41
 Requires: iptables
+Requires: radvd
 %endif
 %if %{with_nwfilter}
 Requires: ebtables
@@ -339,6 +340,7 @@ BuildRequires: libselinux-devel
 %endif
 %if %{with_network}
 BuildRequires: dnsmasq >= 2.41
+BuildRequires: radvd
 %endif
 BuildRequires: bridge-utils
 %if %{with_sasl}
-- 
1.7.4




More information about the libvir-list mailing list