diff options
Diffstat (limited to 'redhat/main/tdeaddons/tdeaddons.spec')
-rw-r--r-- | redhat/main/tdeaddons/tdeaddons.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/redhat/main/tdeaddons/tdeaddons.spec b/redhat/main/tdeaddons/tdeaddons.spec index cb1e58052..a7eb41fdd 100644 --- a/redhat/main/tdeaddons/tdeaddons.spec +++ b/redhat/main/tdeaddons/tdeaddons.spec @@ -138,9 +138,11 @@ BuildRequires: db4-devel #%endif # PYTHON2 support -%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 8 +%if 0%{?rhel} >= 7 || 0%{?fedora} >= 30 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 7 %global python python2 %global __python %__python2 +%else +%global python python %endif Requires: trinity-atlantikdesigner = %{version}-%{release} |