From ca43756800a0a7a3267bd3d9f78eef39378f064a Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 26 Jun 2011 11:39:14 +0200 Subject: [PATCH] Only include parthelper if built with storage_disk Parthelper is only compiled if both --with-libvirtd and --with-storage-disk are set. Signed-off-by: Ruben Kerkhof --- AUTHORS | 1 + libvirt.spec.in | 3 +++ 2 files changed, 4 insertions(+) diff --git a/AUTHORS b/AUTHORS index 906e0d11d1..172648e515 100644 --- a/AUTHORS +++ b/AUTHORS @@ -178,6 +178,7 @@ Patches have also been contributed by: Michael Chapman Daniel Gollub David S. Wang + Ruben Kerkhof [....send patches to get your name here....] diff --git a/libvirt.spec.in b/libvirt.spec.in index 11b85918a7..0111519f1e 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1016,7 +1016,10 @@ fi %attr(0755, root, root) %{_libexecdir}/libvirt_lxc %endif +%if %{with_storage_disk} %attr(0755, root, root) %{_libexecdir}/libvirt_parthelper +%endif + %attr(0755, root, root) %{_libexecdir}/libvirt_iohelper %attr(0755, root, root) %{_sbindir}/libvirtd