[libvirt] [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 <ruben@rubenkerkhof.com> --- libvirt.spec.in | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 11b8591..0111519 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 -- 1.7.5.4

On 06/26/2011 03:39 AM, Ruben Kerkhof wrote:
Parthelper is only compiled if both --with-libvirtd and --with-storage-disk are set.
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com> --- libvirt.spec.in | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in index 11b8591..0111519 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
ACK and pushed. I also updated AUTHORS; let me know if I need to adjust any spellings. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org

Hi Eric, On Mon, Jun 27, 2011 at 16:51, Eric Blake <eblake@redhat.com> wrote:
On 06/26/2011 03:39 AM, Ruben Kerkhof wrote:
Parthelper is only compiled if both --with-libvirtd and --with-storage-disk are set.
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com> --- libvirt.spec.in | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in index 11b8591..0111519 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
ACK and pushed. I also updated AUTHORS; let me know if I need to adjust any spellings.
Wow, there's really no need, it's just two lines, but thanks! Spelling is correct. Kind regards, Ruben
participants (2)
-
Eric Blake
-
Ruben Kerkhof