Przeglądaj źródła

Merge remote-tracking branch 'origin/pr/279'

* origin/pr/279:
  Fix build with python3 for CentOS
Marek Marczykowski-Górecki 3 lat temu
rodzic
commit
47c98703b0
1 zmienionych plików z 4 dodań i 4 usunięć
  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 || :