From 01c44ab26baaaa3af725828e1e6e60ae517c3e35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 1 Jun 2020 18:58:44 +0200 Subject: RPM: various fixes for opensuse --- redhat/main/tdeedu/tdeedu.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'redhat/main/tdeedu/tdeedu.spec') 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 -- cgit v1.2.1