]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Add libvirt_lxc to file list
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 21 Aug 2008 09:28:54 +0000 (09:28 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 21 Aug 2008 09:28:54 +0000 (09:28 +0000)
libvirt.spec.in

index 4aff4a5a435e6e8da1d3e67ae4d4e1d3024ea0df..d37c0e00a5971a7f74054b7908be9a9651c08778 100644 (file)
@@ -3,6 +3,8 @@
 %define with_xen       1
 %define with_xen_proxy 1
 %define with_qemu      1
+%define with_openvz    1
+%define with_lxc       1
 %define with_polkit    0
 
 # Xen is available only on i386 x86_64 ia64
@@ -152,8 +154,18 @@ of recent versions of Linux (and other OSes).
 %define _without_qemu --without-qemu
 %endif
 
+%if ! %{with_openvz}
+%define _without_openvz --without-openvz
+%endif
+
+%if ! %{with_lxc}
+%define _without_lxc --without-lxc
+%endif
+
 %configure %{?_without_xen} \
            %{?_without_qemu} \
+           %{?_without_openvz} \
+           %{?_without_lxc} \
            --with-init-script=redhat \
            --with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid \
            --with-remote-file=%{_localstatedir}/run/libvirtd.pid
@@ -248,6 +260,9 @@ fi
 %attr(4755, root, root) %{_libexecdir}/libvirt_proxy
 %endif
 %attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
+%if %{with_lxc}
+%attr(0755, root, root) %{_libexecdir}/libvirt_lxc
+%endif
 %attr(0755, root, root) %{_sbindir}/libvirtd
 %doc docs/*.rng
 %doc docs/*.xml