Accepting request 828081 from home:marxin:memory-constraint

Use memoryperjob constraint instead of %limit_build macro.

OBS-URL: https://build.opensuse.org/request/show/828081
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=309
This commit is contained in:
Martin Pluskal 2020-08-20 12:38:13 +00:00 committed by Git OBS Bridge
parent 93076902df
commit 9417f279d0
3 changed files with 8 additions and 2 deletions

View File

@ -7,5 +7,8 @@
<memory>
<size unit="G">8</size>
</memory>
<memoryperjob>
<size unit="M">1300</size>
</memoryperjob>
</hardware>
</constraints>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 20 09:04:43 UTC 2020 - Martin Liška <mliska@suse.cz>
- Use memoryperjob constraint instead of %limit_build macro.
-------------------------------------------------------------------
Tue Jul 7 16:58:27 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>

View File

@ -140,7 +140,6 @@ Obsoletes: qgis2
BuildRequires: grass-devel >= 7.2
%endif
%ifarch ppc64le
BuildRequires: memory-constraints
%endif
%package devel
@ -224,7 +223,6 @@ export QTDIR=%{_prefix}
export PATH=$PATH:$QTDIR/bin
%ifarch ppc64le
# avoid OOM failure on power8-01 builder
%limit_build -m 1300
%endif
%make_jobs