diff options
Diffstat (limited to 'redhat/main')
-rw-r--r-- | redhat/main/tde-i18n/tde-i18n.spec | 2 | ||||
-rw-r--r-- | redhat/main/tdeedu/tdeedu.spec | 6 |
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 |