mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
[RPM] Force brp-python-bytecompile to use python3
This commit is contained in:
parent
d5cec14699
commit
6446bc7b85
@ -6,6 +6,12 @@
|
|||||||
# - _relver
|
# - _relver
|
||||||
# - _timestamp (optional)
|
# - _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
|
%if %{_timestamp} > 0
|
||||||
%define builddate %(date -d @%{_timestamp} '+%a %b %d %Y')
|
%define builddate %(date -d @%{_timestamp} '+%a %b %d %Y')
|
||||||
%else
|
%else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user