summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdebindings/tdebindings.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2021-05-01 00:02:09 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2021-05-01 18:12:39 +0200
commitab1604b61a44147623db257ebc0a92409c219bba (patch)
tree2dc85fa83cec971eb0b7963f8201966ca3c52895 /redhat/main/tdebindings/tdebindings.spec
parent527c25ae5e2339f390ea77800ba743436f5911fd (diff)
downloadtde-packaging-ab1604b61a44147623db257ebc0a92409c219bba.tar.gz
tde-packaging-ab1604b61a44147623db257ebc0a92409c219bba.zip
RPM: update spec files after building 14.0.10
Diffstat (limited to 'redhat/main/tdebindings/tdebindings.spec')
-rw-r--r--redhat/main/tdebindings/tdebindings.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/redhat/main/tdebindings/tdebindings.spec b/redhat/main/tdebindings/tdebindings.spec
index 5844593d2..d68e30b61 100644
--- a/redhat/main/tdebindings/tdebindings.spec
+++ b/redhat/main/tdebindings/tdebindings.spec
@@ -169,10 +169,12 @@ BuildRequires: Mesa-libGLU-devel
%endif
# PYTHON support
-%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 8
+%if 0%{?rhel} >= 7 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 7
%global python python2
%global __python %__python2
%global python_sitearch %{python2_sitearch}
+%else
+%global python python
%endif
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
BuildRequires: %{python}