summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/sip4-tqt/sip4-tqt.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/sip4-tqt/sip4-tqt.spec')
-rw-r--r--redhat/dependencies/sip4-tqt/sip4-tqt.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/redhat/dependencies/sip4-tqt/sip4-tqt.spec b/redhat/dependencies/sip4-tqt/sip4-tqt.spec
index ed63e325e..7dae151e8 100644
--- a/redhat/dependencies/sip4-tqt/sip4-tqt.spec
+++ b/redhat/dependencies/sip4-tqt/sip4-tqt.spec
@@ -77,7 +77,9 @@ BuildRequires: bison
BuildRequires: flex
# PYTHON support
+%if "%{python}" == ""
%global python python3
+%endif
%global __python %__python3
%global python_sitearch %{python3_sitearch}
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}