summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2023-04-09 19:19:33 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2023-04-09 19:24:19 +0200
commitfc9e1a96accb97d6f8b7248b0ee1334fff285a98 (patch)
tree43d259c1541dffa3ce869792ed829e5c89aee5d2 /redhat
parent09e63fe074675fa2dd9a4fb939177a675bd58994 (diff)
downloadtde-packaging-fc9e1a96accb97d6f8b7248b0ee1334fff285a98.tar.gz
tde-packaging-fc9e1a96accb97d6f8b7248b0ee1334fff285a98.zip
RPM: update tdeaddons
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat')
-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}