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/tdeaddons/tdeaddons.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/tdeaddons/tdeaddons.spec')
-rw-r--r-- | redhat/main/tdeaddons/tdeaddons.spec | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/redhat/main/tdeaddons/tdeaddons.spec b/redhat/main/tdeaddons/tdeaddons.spec index 79e25bfa8..60086f993 100644 --- a/redhat/main/tdeaddons/tdeaddons.spec +++ b/redhat/main/tdeaddons/tdeaddons.spec @@ -137,11 +137,10 @@ BuildRequires: db4-devel #BuildRequires: xmms-devel #%endif -# PYTHON support -%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 -%define python python3 -%else -%define python python +# PYTHON2 support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?mgaversion} >= 8 +%global python %python2 +%global __python %__python2 %endif Requires: trinity-atlantikdesigner = %{version}-%{release} @@ -667,7 +666,7 @@ of user interfaces, playlists and visualisation plugins. %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8 # Fix shebangs sed -i "knewsticker-scripts/sportscores.py" \ "konq-plugins/imagerotation/orient.py" \ |