[libvirt] [PATCH] Remove explicit dependency on ceph RPM

Daniel P. Berrange berrange at redhat.com
Wed Sep 5 08:00:20 UTC 2012


From: "Daniel P. Berrange" <berrange at redhat.com>

The libvirt storage driver uses librbd.so for its functionality.
RPM will automatically add a dependency on the library, so there
is no need to have an explicit dependency on the ceph RPM itself.
This allows newer Fedora distros to avoid pulling in the huge
ceph RPM, in favour of just having the libraries installed
---
 libvirt.spec.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 9a1feed..523ac0a 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -649,10 +649,6 @@ Requires: device-mapper
 # For multipath support
 Requires: device-mapper
 %endif
-%if %{with_storage_rbd}
-# For RBD support
-Requires: ceph
-%endif
 %if %{with_storage_sheepdog}
 # For Sheepdog support
 Requires: sheepdog
-- 
1.7.11.2




More information about the libvir-list mailing list