Hello community,

here is the log from the commit of package nlohmann_json for openSUSE:Factory 
checked in at 2019-03-11 11:15:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nlohmann_json (Old)
 and      /work/SRC/openSUSE:Factory/.nlohmann_json.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nlohmann_json"

Mon Mar 11 11:15:36 2019 rev:5 rq:683526 version:3.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/nlohmann_json/nlohmann_json.changes      
2019-02-25 18:00:52.870105464 +0100
+++ /work/SRC/openSUSE:Factory/.nlohmann_json.new.28833/nlohmann_json.changes   
2019-03-11 11:15:52.921329224 +0100
@@ -1,0 +2,5 @@
+Wed Mar  6 12:09:01 UTC 2019 - Martin Hauke <[email protected]>
+
+- Add memory constraints to workaround OOM issues on OBS
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ nlohmann_json.spec ++++++
--- /var/tmp/diff_new_pack.IqrPTR/_old  2019-03-11 11:15:54.677328593 +0100
+++ /var/tmp/diff_new_pack.IqrPTR/_new  2019-03-11 11:15:54.681328592 +0100
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -27,6 +27,7 @@
 #Git-Clone:     https://github.com/nlohmann/json.git
 Source:         
https://github.com/nlohmann/json/archive/v%{version}.tar.gz#/json-%{version}.tar.gz
 BuildRequires:  cmake >= 3.8
+BuildRequires:  memory-constraints
 %if 0%{?suse_version} < 1500
 BuildRequires:  gcc7-c++
 %else
@@ -58,6 +59,8 @@
 %cmake \
   -DJSON_BuildTests:BOOL=ON \
   -DNLOHMANN_JSON_CONFIG_INSTALL_DIR="%{_libdir}/cmake/nlohmann_json"
+# require 2GB mem per thread
+%limit_build
 %make_jobs
 
 %install


Reply via email to