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.
This commit is contained in:
Steve Traylen 2023-05-05 23:33:33 +02:00
commit 298b874212

View file

@ -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 <steve.traylen@cern.ch> - 2.26-5
- Build with one CPU thread
- Use modern patch macros
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.26-4