From 44cfc3ff15a945b92b1fde7062e9aa2a29594263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Mon, 26 Jun 2017 16:19:24 +0200 Subject: [PATCH] Limit maximum number of concurrent make --- qgis.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/qgis.spec b/qgis.spec index 1ffc14d..d3d4610 100644 --- a/qgis.spec +++ b/qgis.spec @@ -1,5 +1,13 @@ #TODO: Fix error message with processing plug-in in regards to pyspatialite +# Limit the number of concurrent make to avoid failures due races: +# qgsprojectionselector.h:14:10: fatal error: ui_qgsprojectionselectorbase.h: No such file or directory +# #include +# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +%if %(grep -c processor /proc/cpuinfo) > 4 +%_smp_mflags -j4 +%endif + # Shared lib calls exit # https://hub.qgis.org/issues/2854 @@ -19,7 +27,7 @@ Name: qgis Version: 2.18.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A user friendly Open Source Geographic Information System Group: Applications/Engineering @@ -417,6 +425,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %changelog +* Mon Jun 26 2017 Daniele ViganĂ² - 2.18.10-2 +- Limit maximum number of concurrent make + * Mon Jun 26 2017 Daniele ViganĂ² - 2.18.10-1 - Fix an issue in the QGIS server httpd configuration - New upstream release