summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--redhat/core/tdeaddons/tdeaddons.spec14
1 files changed, 2 insertions, 12 deletions
diff --git a/redhat/core/tdeaddons/tdeaddons.spec b/redhat/core/tdeaddons/tdeaddons.spec
index b2a747317..036bc35ca 100644
--- a/redhat/core/tdeaddons/tdeaddons.spec
+++ b/redhat/core/tdeaddons/tdeaddons.spec
@@ -138,19 +138,9 @@ BuildRequires: db4-devel
#BuildRequires: xmms-devel
#%endif
-# PYTHON2 support
-%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9
-%define with_python 0
-%global __python %__python3
-%else
+# PYTHON support
%define with_python 1
-%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
-%endif
+%global __python %__python3
Requires: trinity-atlantikdesigner = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: trinity-kaddressbook-plugins = %{?epoch:%{epoch}:}%{version}-%{release}