summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeedu/tdeedu.spec
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2020-06-01 18:58:44 +0200
committerFrançois Andriot <[email protected]>2020-06-01 19:02:04 +0200
commit01c44ab26baaaa3af725828e1e6e60ae517c3e35 (patch)
treeeb6e4132081b7c1660769e3ace878a924d4617e2 /redhat/main/tdeedu/tdeedu.spec
parent5695f918a861024d7a5ddcf08789851b11d61ae1 (diff)
downloadtde-packaging-01c44ab26baaaa3af725828e1e6e60ae517c3e35.tar.gz
tde-packaging-01c44ab26baaaa3af725828e1e6e60ae517c3e35.zip
RPM: various fixes for opensuse
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