summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeedu/tdeedu.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdeedu/tdeedu.spec')
-rw-r--r--redhat/main/tdeedu/tdeedu.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/main/tdeedu/tdeedu.spec b/redhat/main/tdeedu/tdeedu.spec
index 81b17e82c..5bd132298 100644
--- a/redhat/main/tdeedu/tdeedu.spec
+++ b/redhat/main/tdeedu/tdeedu.spec
@@ -109,9 +109,13 @@ BuildRequires: %{python}-devel
# BOOST support
BuildRequires: boost-devel
+%if 0%{?mgaversion} >= 7
+BuildRequires: %{_lib}boost_python3-devel
+%endif
%if 0%{?suse_version}
BuildRequires: libboost_%{python}-devel
-%else
+%endif
+%if 0%{?fedora} || 0%{?rhel}
BuildRequires: boost-%{python}-devel
%endif