From 8a4c0f28182b2de08531cfa492e9164d7af979f886d8920e0e3f5715d4064732 Mon Sep 17 00:00:00 2001 From: Marcel Kuehlhorn Date: Thu, 27 Aug 2020 17:35:02 +0000 Subject: [PATCH] Accepting request 828083 from home:marxin:memory-constraint Use memoryperjob constraint instead of %limit_build macro. OBS-URL: https://build.opensuse.org/request/show/828083 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=151 --- _constraints | 4 ++++ telegram-desktop.changes | 5 +++++ telegram-desktop.spec | 2 -- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/_constraints b/_constraints index 6b9e418..f5c87e1 100644 --- a/_constraints +++ b/_constraints @@ -1,7 +1,11 @@ + 16 + + 2048 + diff --git a/telegram-desktop.changes b/telegram-desktop.changes index 344c863..2932c9f 100644 --- a/telegram-desktop.changes +++ b/telegram-desktop.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 20 09:06:04 UTC 2020 - Martin Liška + +- Use memoryperjob constraint instead of %limit_build macro. + ------------------------------------------------------------------- Wed Jun 24 08:38:24 UTC 2020 - Marcel Kuehlhorn diff --git a/telegram-desktop.spec b/telegram-desktop.spec index c0160b5..7c4eb47 100644 --- a/telegram-desktop.spec +++ b/telegram-desktop.spec @@ -61,7 +61,6 @@ BuildRequires: libjpeg-devel BuildRequires: liblz4-devel BuildRequires: libqt5-qtbase-common-devel BuildRequires: libqt5-qtimageformats-devel -BuildRequires: memory-constraints BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: xorg-x11-devel @@ -144,7 +143,6 @@ The service also provides APIs to independent developers. %patch1 -p1 %build -%limit_build -m 2048 %if %{with fixed_gcc} export CC=/usr/bin/gcc-9 export CXX=/usr/bin/g++-9