]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: require libvirt-daemon-driver-interface only when built
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 10 Feb 2014 09:54:30 +0000 (10:54 +0100)
committerEric Blake <eblake@redhat.com>
Wed, 12 Feb 2014 20:14:11 +0000 (13:14 -0700)
Signed-off-by: Eric Blake <eblake@redhat.com>
libvirt.spec.in

index e006f2b15894c5bbceeb763cde7d20e0f52f8ede..4d804e68f6eb702649791eb4dc806e1e0ef8ee6a 100644 (file)
@@ -420,7 +420,9 @@ Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
         %endif
 
+       %if %{with_interface}
 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
+       %endif
 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
 Requires: libvirt-daemon-driver-network = %{version}-%{release}