Fix build with python3 for CentOS

This commit is contained in:
Frédéric Pierret (fepitre) 2020-12-24 14:50:55 +01:00
parent 7c55ee065c
commit 5b5360deb6
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -36,12 +36,12 @@ The Graphical Qubes VM Manager.
%setup -q %setup -q
%build %build
make ui res translations make ui res translations PYTHON=%{__python3}
make python make python PYTHON=%{__python3}
%install %install
make python_install DESTDIR=$RPM_BUILD_ROOT make python_install DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python3}
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python3}
%post %post
update-desktop-database &> /dev/null || : update-desktop-database &> /dev/null || :