Hello community,

here is the log from the commit of package libqt5-qtwebengine for 
openSUSE:Factory checked in at 2018-02-06 16:41:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtwebengine (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtwebengine.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtwebengine"

Tue Feb  6 16:41:21 2018 rev:30 rq:572295 version:5.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtwebengine/libqt5-qtwebengine.changes    
2018-01-16 09:39:03.167007066 +0100
+++ 
/work/SRC/openSUSE:Factory/.libqt5-qtwebengine.new/libqt5-qtwebengine.changes   
    2018-02-06 16:41:22.365915627 +0100
@@ -1,0 +2,8 @@
+Fri Feb  2 10:43:48 UTC 2018 - [email protected]
+
+- Eliminate build dependency on procps: we only used it to run
+  'free', in order to find out how much RAM we have available. We
+  can get this information directly from the kernel, from
+  /proc/meminfo.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libqt5-qtwebengine.spec ++++++
--- /var/tmp/diff_new_pack.NcyRXH/_old  2018-02-06 16:41:27.781662192 +0100
+++ /var/tmp/diff_new_pack.NcyRXH/_new  2018-02-06 16:41:27.781662192 +0100
@@ -87,7 +87,6 @@
 BuildRequires:  libicu-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
-BuildRequires:  procps
 BuildRequires:  libqt5-qtbase-private-headers-devel >= %{version}
 BuildRequires:  libqt5-qtdeclarative-private-headers-devel >= %{version}
 BuildRequires:  libqt5-qttools-private-headers-devel >= %{version}
@@ -282,12 +281,12 @@
 # processes based on the available memory
 makeproc="%{?jobs:%{jobs}}"
 echo "Available memory:"
-free
+cat /proc/meminfo
 echo "System limits:"
 ulimit -a
 if test -n "$makeproc" -a "$makeproc" -gt 1 ; then
-    mem_per_process=1300
-    max_mem=`LANG=C free -t -m | sed -n "s|^Mem: *\([0-9]*\).*$|\1|p"`
+    mem_per_process=1300000
+    max_mem=$(awk '/MemTotal/ { print $2 }' /proc/meminfo)
     max_jobs="$(($max_mem / $mem_per_process))"
     test "$makeproc" -gt "$max_jobs" && makeproc="$max_jobs" && echo "Warning: 
Reducing number of jobs to $max_jobs because of memory limits"
     test "$makeproc" -le 0 && makeproc=1 && echo "Warning: Do not use the 
parallel build at all becuse of memory limits"


Reply via email to