Skip to content

Commit 6446bc7

Browse files
committed
[RPM] Force brp-python-bytecompile to use python3
1 parent d5cec14 commit 6446bc7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rpm/qgis.spec.template

+6
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)