Hello community,

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

Package is "libqt5-qtlocation"

Tue Feb  6 16:41:28 2018 rev:28 rq:572296 version:5.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtlocation/libqt5-qtlocation.changes      
2017-12-23 12:13:08.670136850 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtlocation.new/libqt5-qtlocation.changes 
2018-02-06 16:41:29.633575530 +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-qtlocation.spec ++++++
--- /var/tmp/diff_new_pack.QyzT1Q/_old  2018-02-06 16:41:30.285545021 +0100
+++ /var/tmp/diff_new_pack.QyzT1Q/_new  2018-02-06 16:41:30.289544833 +0100
@@ -139,12 +139,12 @@
 # do not eat all memory (logic from chromium specfile)
 jobs="%{?jobs:%{jobs}}"
 echo "Available memory:"
-free
+cat /proc/meminfo
 echo "System limits:"
 ulimit -a
 if test -n "$jobs" -a "$jobs" -gt 1 ; then
-    mem_per_process=900
-    max_mem=`LANG=C free -t -m | sed -n "s|^Mem: *\([0-9]*\).*$|\1|p"`
+    mem_per_process=900000
+    max_mem=$(awk '/MemTotal/ { print $2 }' /proc/meminfo)
     max_jobs="$(($max_mem / $mem_per_process))"
     test "$jobs" -gt "$max_jobs" && jobs="$max_jobs" && echo "Warning: 
Reducing number of jobs to $max_jobs because of memory limits"
     test "$jobs" -le 0 && jobs=1 && echo "Warning: Do not use the parallel 
build at all becuse of memory limits"


Reply via email to