diff options
Diffstat (limited to 'redhat/main/tdeaddons')
-rw-r--r-- | redhat/main/tdeaddons/tdeaddons.spec | 4 |
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 |