summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeaddons/tdeaddons.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdeaddons/tdeaddons.spec')
-rw-r--r--redhat/main/tdeaddons/tdeaddons.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/main/tdeaddons/tdeaddons.spec b/redhat/main/tdeaddons/tdeaddons.spec
index 60086f993..a45b68867 100644
--- a/redhat/main/tdeaddons/tdeaddons.spec
+++ b/redhat/main/tdeaddons/tdeaddons.spec
@@ -138,8 +138,8 @@ BuildRequires: db4-devel
#%endif
# PYTHON2 support
-%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?mgaversion} >= 8
-%global python %python2
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 8
+%global python python2
%global __python %__python2
%endif