From 5b5360deb600527a6618c1fb1ec54cfd3b588566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Thu, 24 Dec 2020 14:50:55 +0100 Subject: [PATCH] Fix build with python3 for CentOS --- rpm_spec/qmgr.spec.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rpm_spec/qmgr.spec.in b/rpm_spec/qmgr.spec.in index f6465959..9b39f9d0 100644 --- a/rpm_spec/qmgr.spec.in +++ b/rpm_spec/qmgr.spec.in @@ -36,12 +36,12 @@ The Graphical Qubes VM Manager. %setup -q %build -make ui res translations -make python +make ui res translations PYTHON=%{__python3} +make python PYTHON=%{__python3} %install -make python_install DESTDIR=$RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +make python_install DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python3} +make install DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python3} %post update-desktop-database &> /dev/null || :