Accepting request 828191 from home:marxin:branches:mozilla:Factory

- Use new memoryperjob _constraints instead of %limit_build macro.

OBS-URL: https://build.opensuse.org/request/show/828191
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=852
This commit is contained in:
Wolfgang Rosenauer 2020-08-20 13:10:52 +00:00 committed by Git OBS Bridge
parent 475d7acc7d
commit 6563cec38e
3 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 20 13:07:33 UTC 2020 - Martin Liška <mliska@suse.cz>
- Use new memoryperjob _constraints instead of %limit_build macro.
-------------------------------------------------------------------
Mon Aug 10 09:19:38 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>

View File

@ -82,7 +82,6 @@ BuildRequires: autoconf213
BuildRequires: dbus-1-glib-devel
BuildRequires: dejavu-fonts
BuildRequires: fdupes
BuildRequires: memory-constraints
%if 0%{?suse_version} <= 1320
BuildRequires: gcc9-c++
%else
@ -430,11 +429,6 @@ echo "export MOZ_TELEMETRY_REPORTING=1"
echo ""
cat << EOF
%else
%ifarch ppc64 ppc64le
%limit_build -m 2500
%else
%limit_build -m 2000
%endif
cat << EOF > $MOZCONFIG
%endif
mk_add_options MOZILLA_OFFICIAL=1

View File

@ -7,6 +7,9 @@
<memory>
<size unit="G">8</size>
</memory>
<memoryperjob>
<size unit="M">2000</size>
</memoryperjob>
</hardware>
<overwrite>
<conditions>
@ -54,6 +57,9 @@
<physicalmemory>
<size unit="G">10</size>
</physicalmemory>
<memoryperjob>
<size unit="M">2500</size>
</memoryperjob>
</hardware>
</overwrite>
</constraints>