[libvirt] [PATCH] spec: require libvirt-wireshark from libvirt metapackage

Eric Blake eblake at redhat.com
Wed Feb 12 20:28:43 UTC 2014


In general, the 'libvirt' metapackage should pull in all subpackages.
Fix this for the wireshark subpackage created in commit f9ada9f.

* libvirt.spec.in (Requires): Add dependency.

Signed-off-by: Eric Blake <eblake at redhat.com>
---
 libvirt.spec.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index d3e6048..2d57c71 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -428,6 +428,9 @@ Requires: libvirt-daemon-driver-storage = %{version}-%{release}
 Requires: libvirt-daemon-driver-network = %{version}-%{release}
 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
     %endif
+    %if %{with_wireshark}
+Requires: libvirt-wireshark = %{version}-%{release}
+    %endif
 %endif
 Requires: libvirt-client = %{version}-%{release}

-- 
1.8.5.3




More information about the libvir-list mailing list