From a2e27174113ce851461fd7c5117e5213855f7e29 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 24 Jul 2009 16:26:54 +0200 Subject: [PATCH] Desactivate phyp build and indicate libssh builreq --- libvirt.spec.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index b4969aad5e..8af64bd9b8 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -12,7 +12,9 @@ %define with_python 0%{!?_without_python:1} %define with_libvirtd 0%{!?_without_libvirtd:1} %define with_uml 0%{!?_without_uml:1} -%define with_one 0%{!?_without_uml:1} +%define with_one 0%{!?_without_one:1} +# default to off +%define with_phyp 0%{!?_without_phyp:0} %define with_network 0%{!?_without_network:1} %define with_storage_fs 0%{!?_without_storage_fs:1} %define with_storage_lvm 0%{!?_without_storage_lvm:1} @@ -178,6 +180,9 @@ BuildRequires: numactl-devel %if %{with_capng} BuildRequires: capng-devel >= 0.5.0 %endif +%if %{with_phyp} +BuildRequires: libssh-devel >= 0.3.1 +%endif # Fedora build root suckage BuildRequires: gawk @@ -261,6 +266,10 @@ of recent versions of Linux (and other OSes). %define _without_avahi --without-avahi %endif +%if ! %{with_phyp} +%define _without_phyp --without-phyp +%endif + %if ! %{with_polkit} %define _without_polkit --without-polkit %endif @@ -320,6 +329,7 @@ of recent versions of Linux (and other OSes). %{?_without_libvirtd} \ %{?_without_uml} \ %{?_without_one} \ + %{?_without_phyp} \ %{?_without_network} \ %{?_with_rhel5_api} \ %{?_without_storage_fs} \ -- GitLab