Skip to content

Commit 2f0fbc6

Browse files
authoredMay 17, 2018
Merge pull request #7010 from daniviga/brp-python-bytecompile-py3
[RPM] Force brp-python-bytecompile to use python3
2 parents 7b53273 + 6446bc7 commit 2f0fbc6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎rpm/qgis.spec.template

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
# - _relver
77
# - _timestamp (optional)
88

9+
# Force the python interpreter to python3:
10+
# brp-python-bytecompile is unable to identify
11+
# the proper required version of python for
12+
# py files located under /usr/share/qgis/python/plugins
13+
%global __python %{__python3}
14+
915
%if %{_timestamp} > 0
1016
%define builddate %(date -d @%{_timestamp} '+%a %b %d %Y')
1117
%else

0 commit comments

Comments
 (0)
Please sign in to comment.