Invoke xz in multi-threaded mode

Related: RHEL-52723
This commit is contained in:
Andrew Hughes 2024-04-14 21:44:34 +01:00
parent dd1cdb9453
commit 7733965eb3

View File

@ -1855,6 +1855,7 @@ if [ %{include_debug_build} -eq 0 -a %{include_normal_build} -eq 0 -a %{includ
exit 14 exit 14
fi fi
export XZ_OPT="-T0"
%setup -q -c -n %{uniquesuffix ""} -T -a 0 %setup -q -c -n %{uniquesuffix ""} -T -a 0
# https://bugzilla.redhat.com/show_bug.cgi?id=1189084 # https://bugzilla.redhat.com/show_bug.cgi?id=1189084
prioritylength=`expr length %{priority}` prioritylength=`expr length %{priority}`
@ -1932,6 +1933,8 @@ function customisejdk() {
fi fi
} }
export XZ_OPT="-T0"
mkdir -p $(dirname %{installoutputdir}) mkdir -p $(dirname %{installoutputdir})
docdir=%{installoutputdir -- "-docs"} docdir=%{installoutputdir -- "-docs"}
@ -2495,6 +2498,10 @@ cjc.mainProgram(args)
%endif %endif
%changelog %changelog
* Sat Aug 03 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:21.0.3.0.1-0.1.ea
- Invoke xz in multi-threaded mode
- Related: RHEL-52723
* Sat Aug 03 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.3.0.1-0.1.ea * Sat Aug 03 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.3.0.1-0.1.ea
- Update to jdk-21.0.3+1 (EA) - Update to jdk-21.0.3+1 (EA)
- Update release notes to 21.0.3+1 - Update release notes to 21.0.3+1