Browse Source

Fix build with python3 for CentOS

Frédéric Pierret (fepitre) 3 years ago
parent
commit
5b5360deb6
1 changed files with 4 additions and 4 deletions
  1. 4 4
      rpm_spec/qmgr.spec.in

+ 4 - 4
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 || :