Skip to content
Permalink
Browse files

[RPM] Force brp-python-bytecompile to use python3

  • Loading branch information
daniviga committed May 17, 2018
1 parent d5cec14 commit 6446bc7b85e81c4d6b33d71328863c477d266450
Showing with 6 additions and 0 deletions.
  1. +6 −0 rpm/qgis.spec.template
@@ -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

0 comments on commit 6446bc7

Please sign in to comment.
You can’t perform that action at this time.