From fc9e1a96accb97d6f8b7248b0ee1334fff285a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 9 Apr 2023 19:19:33 +0200 Subject: RPM: update tdeaddons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/core/tdeaddons/tdeaddons.spec | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'redhat') 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} -- cgit v1.2.1