diff options
author | François Andriot <[email protected]> | 2021-05-01 00:02:09 +0200 |
---|---|---|
committer | François Andriot <[email protected]> | 2021-05-01 18:08:57 +0200 |
commit | 3abe22ac0a163a1b27d831cbfbe1256b7117ab82 (patch) | |
tree | 0f41e96958c595284c049b8aa979d67ab33c6670 /redhat/main/tdebindings | |
parent | b4ae1bd8917e7d998552912b5eb15444c7f1b023 (diff) | |
download | tde-packaging-3abe22ac0a163a1b27d831cbfbe1256b7117ab82.tar.gz tde-packaging-3abe22ac0a163a1b27d831cbfbe1256b7117ab82.zip |
RPM: update spec files after building 14.0.10
Diffstat (limited to 'redhat/main/tdebindings')
-rw-r--r-- | redhat/main/tdebindings/tdebindings.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/redhat/main/tdebindings/tdebindings.spec b/redhat/main/tdebindings/tdebindings.spec index 947ee160d..b4d0d9c76 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} |