diff --git a/Makefile.builder b/Makefile.builder index 9b4be1e1..52493aa3 100644 --- a/Makefile.builder +++ b/Makefile.builder @@ -1,3 +1,5 @@ RPM_SPEC_FILES := \ rpm_spec/qubes-desktop-linux-manager.spec DEBIAN_BUILD_DIRS := debian +RPM_BUILD_DEFINES.vm = --define "vm_package 1" +RPM_BUILD_DEFINES += $(RPM_BUILD_DEFINES.$(PACKAGE_SET)) diff --git a/rpm_spec/qubes-desktop-linux-manager.spec.in b/rpm_spec/qubes-desktop-linux-manager.spec.in index bb1dc2b5..a815dd25 100644 --- a/rpm_spec/qubes-desktop-linux-manager.spec.in +++ b/rpm_spec/qubes-desktop-linux-manager.spec.in @@ -52,7 +52,10 @@ Requires: libappindicator-gtk3 Requires: python%{python3_pkgversion}-systemd Requires: gtk3 Requires: python%{python3_pkgversion}-qubesadmin >= 4.1.8 +%if !0%{?vm_package} +# FIXME: we need some way for applying updates from GUI VM Requires: qubes-mgmt-salt-dom0-update >= 4.0.5 +%endif Requires: qubes-artwork >= 4.1.5 Provides: qui = %{version}-%{release}