diff options
Diffstat (limited to 'redhat/main/tdeedu')
-rw-r--r-- | redhat/main/tdeedu/tdeedu.spec | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/redhat/main/tdeedu/tdeedu.spec b/redhat/main/tdeedu/tdeedu.spec index b1198f509..81b17e82c 100644 --- a/redhat/main/tdeedu/tdeedu.spec +++ b/redhat/main/tdeedu/tdeedu.spec @@ -100,7 +100,7 @@ BuildRequires: libusb-devel # PYTHON support %if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?suse_version} >= 1500 %define python python3 -%define __python %__python2 +%define __python %__python3 %else %define python python %endif @@ -109,6 +109,11 @@ BuildRequires: %{python}-devel # BOOST support BuildRequires: boost-devel +%if 0%{?suse_version} +BuildRequires: libboost_%{python}-devel +%else +BuildRequires: boost-%{python}-devel +%endif # OCAML support %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 |