rpm: Add option for depending on libguestfs

This commit is contained in:
Cole Robinson 2011-07-26 19:55:18 -04:00
parent ec84fc7d86
commit 1029e8eb32

View File

@ -12,6 +12,7 @@
%define disable_unsupported_rhel 0
%define default_graphics ""
%define with_guestfs 0
%define with_spice 0
%define with_tui 0
@ -75,6 +76,9 @@ Requires: PolicyKit-gnome
%if %{with_spice}
Requires: spice-gtk-python
%endif
%if %{with_guestfs}
Requires: python-libguestfs
%endif
%if %{with_tui} == 0
Obsoletes: virt-manager-common <= %{verrel}