From b80a2bee25c5fc5c59822bae72de5616728d57a3 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 21 Dec 2022 16:33:56 -0500 Subject: [PATCH] Use constrain_build instead of setting _smp_build_ncpus --- libinstpatch.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libinstpatch.spec b/libinstpatch.spec index 9a9b3fa..5de5474 100644 --- a/libinstpatch.spec +++ b/libinstpatch.spec @@ -128,9 +128,9 @@ find examples -type f -name '*.py' -print -delete # yet, which means we aren’t prepared to report the problem upstream. # Assistance is welcome. # -# For now, the workaround is fine on Fedora 35–38 (although it does not work on +# For now, the workaround is fine on Fedora (although it does not work on # EPEL7–EPEL9). -%global _smp_build_ncpus 1 +%constrain_build -c 1 %cmake \ -DGTKDOC_ENABLED:BOOL=ON \