|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
# TDE variables
|
|
|
|
|
%define tde_epoch 2
|
|
|
|
|
%if "%{?tde_version}" == ""
|
|
|
|
|
%define tde_version 14.1.1
|
|
|
|
|
%define tde_version 14.1.2
|
|
|
|
|
%endif
|
|
|
|
|
%define tde_pkg tdeedu
|
|
|
|
|
%define tde_prefix /opt/trinity
|
|
|
|
@ -103,7 +103,7 @@ BuildRequires: libusb-devel
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# PYTHON3 support
|
|
|
|
|
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100 || 0%{?mgaversion} >= 8
|
|
|
|
|
%if 0%{?rhel} >= 7 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100 || 0%{?mgaversion} >= 8
|
|
|
|
|
%global python python3
|
|
|
|
|
%global __python %__python3
|
|
|
|
|
%global python_sitearch %{python3_sitearch}
|
|
|
|
@ -123,8 +123,12 @@ BuildRequires: %{_lib}boost_python3-devel
|
|
|
|
|
BuildRequires: libboost_%{python}-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
|
BuildRequires: boost-python36-devel
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: boost-%{python}-devel
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# OCAML support
|
|
|
|
|
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
|
|
|
|
|