]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Only include parthelper if built with storage_disk
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 26 Jun 2011 09:39:14 +0000 (11:39 +0200)
committerEric Blake <eblake@redhat.com>
Mon, 27 Jun 2011 14:50:40 +0000 (08:50 -0600)
Parthelper is only compiled if both --with-libvirtd
and --with-storage-disk are set.

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
AUTHORS
libvirt.spec.in

diff --git a/AUTHORS b/AUTHORS
index 906e0d11d1c5dcafaff25d0df60d8dc2a341fe36..172648e515846a6d698a567e9f87365863d7ffe9 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -178,6 +178,7 @@ Patches have also been contributed by:
   Michael Chapman      <mike@very.puzzling.org>
   Daniel Gollub        <gollub@b1-systems.de>
   David S. Wang        <dwang2@cisco.com>
+  Ruben Kerkhof        <ruben@rubenkerkhof.com>
 
   [....send patches to get your name here....]
 
index 11b85918a76e26025190ef48864635bb3c07a093..0111519f1e7a4a3f75917750511709b36a202475 100644 (file)
@@ -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