Invoke xz in multi-threaded mode

Related: RHEL-30946
This commit is contained in:
Andrew Hughes 2024-04-14 21:44:34 +01:00
parent cd7883c7b1
commit 48fc0fd7e9

View File

@ -1845,6 +1845,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}`
@ -1922,6 +1923,8 @@ function customisejdk() {
fi fi
} }
export XZ_OPT="-T0"
mkdir -p $(dirname %{installoutputdir}) mkdir -p $(dirname %{installoutputdir})
docdir=%{installoutputdir -- "-docs"} docdir=%{installoutputdir -- "-docs"}
@ -2485,6 +2488,10 @@ cjc.mainProgram(args)
%endif %endif
%changelog %changelog
* Sun Apr 14 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:21.0.3.0.1-0.2.ea
- Invoke xz in multi-threaded mode
- Related: RHEL-30946
* Sun Apr 14 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.3.0.1-0.2.ea * Sun Apr 14 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.3.0.1-0.2.ea
- rebuilt - rebuilt
- Related: RHEL-30946 - Related: RHEL-30946