diff options
author | François Andriot <albator78@libertysurf.fr> | 2021-03-02 19:50:55 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2021-03-02 19:51:08 +0100 |
commit | 8d16bbb07d30d547ab56232e8428b9356f2aa3d7 (patch) | |
tree | 377172acbb10af50b9e1304751f43856126fbdf0 /redhat/main/tdebindings/tdebindings.spec | |
parent | 38c37cbf97b6d42da0b0ea81f49a2351fb07c232 (diff) | |
download | tde-packaging-8d16bbb07d30d547ab56232e8428b9356f2aa3d7.tar.gz tde-packaging-8d16bbb07d30d547ab56232e8428b9356f2aa3d7.zip |
RPM: add support for Mageia 8
Diffstat (limited to 'redhat/main/tdebindings/tdebindings.spec')
-rw-r--r-- | redhat/main/tdebindings/tdebindings.spec | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/redhat/main/tdebindings/tdebindings.spec b/redhat/main/tdebindings/tdebindings.spec index 81783c492..f5d4b33c5 100644 --- a/redhat/main/tdebindings/tdebindings.spec +++ b/redhat/main/tdebindings/tdebindings.spec @@ -169,12 +169,10 @@ BuildRequires: Mesa-libGLU-devel %endif # PYTHON support -%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?mgaversion} >= 8 %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} |