From 3abe22ac0a163a1b27d831cbfbe1256b7117ab82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 1 May 2021 00:02:09 +0200 Subject: RPM: update spec files after building 14.0.10 --- redhat/main/tdeaddons/tdeaddons.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'redhat/main/tdeaddons') diff --git a/redhat/main/tdeaddons/tdeaddons.spec b/redhat/main/tdeaddons/tdeaddons.spec index d190c2ca6..f373b469d 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} -- cgit v1.2.1