From 298b87421241612c00a853d2d537ccf9aaeb1608 Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Fri, 5 May 2023 23:33:33 +0200 Subject: [PATCH] Build with one CPU thread Build fails with make -i <1. Seems that with make directories are not created in time before they are needed. --- alpine.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/alpine.spec b/alpine.spec index 9b98e4c..1e05f22 100644 --- a/alpine.spec +++ b/alpine.spec @@ -95,6 +95,9 @@ touch imap/ip6 --with-system-pinerc=%{_sysconfdir}/pine.conf \ --with-system-fixed-pinerc=%{_sysconfdir}/pine.conf.fixed + +# Build single threaded, make is not creating directories in time. +export RPM_BUILD_NCPUS=1 %make_build EXTRACFLAGS="$RPM_OPT_FLAGS" @@ -127,6 +130,7 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/pine.conf.fixed %changelog * Fri May 5 2023 Steve Traylen - 2.26-5 +- Build with one CPU thread - Use modern patch macros * Wed Jan 18 2023 Fedora Release Engineering - 2.26-4