mirror of
https://src.fedoraproject.org/rpms/virt-manager.git
synced 2025-07-16 09:04:55 +00:00
Fix flatpak build
The host dconf instance is used in flatpaks.
This commit is contained in:
committed by
yselkowitz
parent
757503c93b
commit
38533684b9
@@ -32,6 +32,7 @@ Requires: spice-gtk3
|
|||||||
# We can work with gtksourceview 3 or gtksourceview4, pick the latest one
|
# We can work with gtksourceview 3 or gtksourceview4, pick the latest one
|
||||||
Requires: gtksourceview4
|
Requires: gtksourceview4
|
||||||
|
|
||||||
|
%if ! 0%{?flatpak}
|
||||||
# virt-manager is one of those apps that people will often install onto
|
# virt-manager is one of those apps that people will often install onto
|
||||||
# a headless machine for use over SSH. This means the virt-manager dep
|
# a headless machine for use over SSH. This means the virt-manager dep
|
||||||
# chain needs to provide everything we need to get a usable app experience.
|
# chain needs to provide everything we need to get a usable app experience.
|
||||||
@@ -39,6 +40,7 @@ Requires: gtksourceview4
|
|||||||
# of usable gsettings backend, so we explicitly depend on dconf so that
|
# of usable gsettings backend, so we explicitly depend on dconf so that
|
||||||
# user settings actually persist across app runs.
|
# user settings actually persist across app runs.
|
||||||
Requires: dconf
|
Requires: dconf
|
||||||
|
%endif
|
||||||
|
|
||||||
# The vte291 package is actually the latest vte with API version 2.91, while
|
# The vte291 package is actually the latest vte with API version 2.91, while
|
||||||
# the vte3 package is effectively a compat package with API version 2.90.
|
# the vte3 package is effectively a compat package with API version 2.90.
|
||||||
@@ -116,6 +118,7 @@ machine).
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
./setup.py configure \
|
./setup.py configure \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
%{?_default_hvs} \
|
%{?_default_hvs} \
|
||||||
%{?_default_graphics}
|
%{?_default_graphics}
|
||||||
|
|
||||||
@@ -123,7 +126,7 @@ machine).
|
|||||||
%install
|
%install
|
||||||
./setup.py \
|
./setup.py \
|
||||||
--no-update-icon-cache --no-compile-schemas \
|
--no-update-icon-cache --no-compile-schemas \
|
||||||
install -O1 --root=%{buildroot}
|
install -O1 --root=%{buildroot} --prefix=%{_prefix}
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%if 0%{?py_byte_compile:1}
|
%if 0%{?py_byte_compile:1}
|
||||||
|
Reference in New Issue
Block a user