Skip to content

Commit

Permalink
Fix build with python3 for CentOS
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Dec 24, 2020
1 parent 7c55ee0 commit 5b5360d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rpm_spec/qmgr.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 || :
Expand Down

0 comments on commit 5b5360d

Please sign in to comment.