Skip to content

Commit

Permalink
Merge pull request #7010 from daniviga/brp-python-bytecompile-py3
Browse files Browse the repository at this point in the history
[RPM] Force brp-python-bytecompile to use python3
  • Loading branch information
m-kuhn authored May 17, 2018
2 parents 7b53273 + 6446bc7 commit 2f0fbc6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rpm/qgis.spec.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
# - _relver
# - _timestamp (optional)

# Force the python interpreter to python3:
# brp-python-bytecompile is unable to identify
# the proper required version of python for
# py files located under /usr/share/qgis/python/plugins
%global __python %{__python3}

%if %{_timestamp} > 0
%define builddate %(date -d @%{_timestamp} '+%a %b %d %Y')
%else
Expand Down

0 comments on commit 2f0fbc6

Please sign in to comment.