diff --git a/_constraints b/_constraints
index d5c1b35..6200bf7 100644
--- a/_constraints
+++ b/_constraints
@@ -1,10 +1,14 @@
+
-
+
3
-
-
+
+
5
-
+
+
+ 2200
+
diff --git a/openscad.changes b/openscad.changes
index 56ca9ff..443cacd 100644
--- a/openscad.changes
+++ b/openscad.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Aug 20 09:03:01 UTC 2020 - Martin Liška
+
+- Use memoryperjob constraint instead of %limit_build macro.
+
-------------------------------------------------------------------
Sun Mar 22 07:56:55 UTC 2020 - Christophe Giboudeaux
diff --git a/openscad.spec b/openscad.spec
index 857c313..9658ec6 100644
--- a/openscad.spec
+++ b/openscad.spec
@@ -1,7 +1,7 @@
#
# spec file for package openscad
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@ Release: 0
Summary: Programmers Solid 3D CAD Modeller
License: GPL-3.0-or-later
Group: Productivity/Graphics/CAD
-Url: https://www.openscad.org/
+URL: https://www.openscad.org/
Source: https://files.openscad.org/%{name}-%{version}.src.tar.gz
BuildRequires: bison
BuildRequires: double-conversion-devel
@@ -39,7 +39,6 @@ BuildRequires: libboost_thread-devel
BuildRequires: libcgal-devel
BuildRequires: libqscintilla-qt5-devel
BuildRequires: libspnav-devel
-BuildRequires: memory-constraints
BuildRequires: opencsg-devel
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core)
@@ -62,7 +61,6 @@ aspects, e.g. modelling of machine parts.
%build
qmake-qt5 PREFIX=%{_prefix} QMAKE_CXXFLAGS="%{optflags}" CONFIG+=qopenglwidget
-%limit_build -m 2200
make %{?_smp_mflags}
%install