diff --git a/gimp-help.changes b/gimp-help.changes index f58d285..97e7aac 100644 --- a/gimp-help.changes +++ b/gimp-help.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 27 13:55:38 UTC 2024 - Guillaume GARDET + +- Add %limit_build to avoid OOM + ------------------------------------------------------------------- Tue Feb 27 11:00:20 UTC 2024 - Dominique Leuenberger diff --git a/gimp-help.spec b/gimp-help.spec index f88f870..00afd20 100644 --- a/gimp-help.spec +++ b/gimp-help.spec @@ -29,6 +29,7 @@ Patch0: gimp-help-2.10.0-python3.patch BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: libxslt +BuildRequires: memory-constraints BuildRequires: pngcrush BuildRequires: python3-libxml2-python Requires: gimp @@ -311,6 +312,7 @@ This package provides Chinese data for gimp-help. find . -iname \*.py -exec sed -i -e '1 s@env python.\?@python3@' '{}' \; %build +%limit_build -m 3400 # We install the help to the same prefix as gimp itself, so no # need to query gimp for the prefix at build time %configure \