Use constrain_build instead of setting _smp_build_ncpus

epel9
Benjamin A. Beasley 2 years ago
parent 05851b41a8
commit b80a2bee25

@ -128,9 +128,9 @@ find examples -type f -name '*.py' -print -delete
# yet, which means we arent prepared to report the problem upstream. # yet, which means we arent prepared to report the problem upstream.
# Assistance is welcome. # Assistance is welcome.
# #
# For now, the workaround is fine on Fedora 3538 (although it does not work on # For now, the workaround is fine on Fedora (although it does not work on
# EPEL7EPEL9). # EPEL7EPEL9).
%global _smp_build_ncpus 1 %constrain_build -c 1
%cmake \ %cmake \
-DGTKDOC_ENABLED:BOOL=ON \ -DGTKDOC_ENABLED:BOOL=ON \

Loading…
Cancel
Save