|
|
|
@ -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}
|
|
|
|
|