From 7f0c4d07b5faac3f0fb07cd8240f5ae0e1063560 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 10 Feb 2014 10:54:30 +0100 Subject: [PATCH] require libvirt-daemon-driver-interface only when it's actually built --- libvirt.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvirt.spec b/libvirt.spec index 4cf97ac..7ecda25 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -449,7 +449,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} -- 2.43.0