summaryrefslogtreecommitdiffstats
path: root/redhat/main
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2020-06-01 18:58:44 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2020-06-01 19:02:04 +0200
commit01c44ab26baaaa3af725828e1e6e60ae517c3e35 (patch)
treeeb6e4132081b7c1660769e3ace878a924d4617e2 /redhat/main
parent5695f918a861024d7a5ddcf08789851b11d61ae1 (diff)
downloadtde-packaging-01c44ab26baaaa3af725828e1e6e60ae517c3e35.tar.gz
tde-packaging-01c44ab26baaaa3af725828e1e6e60ae517c3e35.zip
RPM: various fixes for opensuse
Diffstat (limited to 'redhat/main')
-rw-r--r--redhat/main/tde-i18n/tde-i18n.spec2
-rw-r--r--redhat/main/tdeedu/tdeedu.spec6
2 files changed, 6 insertions, 2 deletions
diff --git a/redhat/main/tde-i18n/tde-i18n.spec b/redhat/main/tde-i18n/tde-i18n.spec
index 6cf838bc5..e5320ab64 100644
--- a/redhat/main/tde-i18n/tde-i18n.spec
+++ b/redhat/main/tde-i18n/tde-i18n.spec
@@ -1451,7 +1451,7 @@ for l in %{TDE_LANGS}; do
# Run the build process in background
( %__make -j4 || %__make || echo TDE_Error ) &
-
+
# Do not build more than 4 languages at the same time
while [ $(jobs | wc -l) -ge 4 ]; do sleep 3; done
popd
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