mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
rpm: Add option for depending on libguestfs
This commit is contained in:
parent
ec84fc7d86
commit
1029e8eb32
@ -12,6 +12,7 @@
|
|||||||
%define disable_unsupported_rhel 0
|
%define disable_unsupported_rhel 0
|
||||||
%define default_graphics ""
|
%define default_graphics ""
|
||||||
|
|
||||||
|
%define with_guestfs 0
|
||||||
%define with_spice 0
|
%define with_spice 0
|
||||||
%define with_tui 0
|
%define with_tui 0
|
||||||
|
|
||||||
@ -75,6 +76,9 @@ Requires: PolicyKit-gnome
|
|||||||
%if %{with_spice}
|
%if %{with_spice}
|
||||||
Requires: spice-gtk-python
|
Requires: spice-gtk-python
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with_guestfs}
|
||||||
|
Requires: python-libguestfs
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with_tui} == 0
|
%if %{with_tui} == 0
|
||||||
Obsoletes: virt-manager-common <= %{verrel}
|
Obsoletes: virt-manager-common <= %{verrel}
|
||||||
|
Loading…
Reference in New Issue
Block a user