summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdesdk/tdesdk.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdesdk/tdesdk.spec')
-rw-r--r--redhat/main/tdesdk/tdesdk.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/main/tdesdk/tdesdk.spec b/redhat/main/tdesdk/tdesdk.spec
index 0cea687d0..eeb166d8e 100644
--- a/redhat/main/tdesdk/tdesdk.spec
+++ b/redhat/main/tdesdk/tdesdk.spec
@@ -133,7 +133,7 @@ BuildRequires: perl-podlators
BuildRequires: openssl-devel
# PYTHON support
-%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?mgaversion} >= 8
%define python python3
%else
%define python python
@@ -1020,7 +1020,7 @@ This package contains the development files for tdesdk.
%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 "scripts/kdelnk2desktop.py" \
"scripts/zonetab2pot.py" \