- added workaround for parallelism build issue

- fixed condition
- fixed source url

Related: RHEL-59868
This commit is contained in:
Than Ngo 2024-10-05 16:58:27 +02:00
parent 8925a231ae
commit c5a2883564
3 changed files with 15 additions and 3 deletions

1
.gitignore vendored
View File

@ -715,3 +715,4 @@
/texlive-20240311-source.tar.xz
/xfrac.doc.tar.xz
/xfrac.tar.xz
/texlive-20240311-source-clean.tar.xz

View File

@ -579,7 +579,6 @@ SHA512 (tex-gyre-math.tar.xz) = a50a9eaa30cfd7754ae702a3bd6fced2d07fac858215b913
SHA512 (tex-gyre.tar.xz) = 5422f349d15233e6f49576fe3a65f8afb5cae6a3c51e5ad7cb56617d7d064e9cf574f233f789c029c04bbfc24e5948c115b2d33569e881373d68615ac709153f
SHA512 (tex-ini-files.doc.tar.xz) = 9caf187a5589e49f946a7fc5ad332073dd2a90d82f71587a57ee9d62e365321fbf14e69e3e3448d85302cf5418a2eb7d94a114f95c575867b52579f6c35d5e48
SHA512 (tex-ini-files.tar.xz) = 58f8b1dd44be6ea67dfaaa67a4f7c6d27d222ccc7c7898c31ade4f23ae39a9a5aace902f05ff48bb3f6d63eae38f9db93b75c4d2efeacd394230694eebc33fa3
SHA512 (texlive-20240311-source.tar.xz) = 2f1d567abba2ba98e236c1de034a861a86af9ce34a9be4f6b478a9f4eaf07a78d09104c652dddab9db2e7057a66f39504c0403a456c72a74f612d0efeccb0714
SHA512 (texlive-common.doc.tar.xz) = 4c04b3494649f2e2092e26356f057e89eeeeb75533b1b953b89fd154da40c64b4456d5492ca79fdf91f3c8fb097a4f2bbc4ef7802ffaed43369ee77471564560
SHA512 (texlive-en.doc.tar.xz) = 598d8229c0ae50fc4697909b7305ef614e5d3d8a884e5375c87da32b138c071b54dd0766a4a8080fe9863e3793e480c5c89afd8231f795560cbfe718a8bea16b
SHA512 (texlive.infra.doc.tar.xz) = 68d24fd95c863d1074a38a894de1eb6babf9a929931a623ee7c077c56eb0c396c8ab238d14c955c11881127ead148dce283424d98eaef6432839dda3c8e9c9cc
@ -706,3 +705,4 @@ SHA512 (zapfchan.tar.xz) = a5a8a672e1753cd39b44dfb43b9b83673f7bd20dfb4e4640630ba
SHA512 (zapfding.tar.xz) = 3e0503c2d4e30c8d727caa1d9438d4c6b12c3a15729eae65d5c4a8dd9ab0d0c8eee2f63138e9d267f4ae98ef7607388888f7acd78e189a5c322bda22827166fe
SHA512 (zref.doc.tar.xz) = 24cf22b54cb13e1458266f4962ba589fa9385f3b8d58493747824d815c372cfa6fa8a8a24d0310264b299ce43148ca001b5c6b73961d1504e1ab6e8a4ac246c0
SHA512 (zref.tar.xz) = 1c21d99dc4f1627520914ed3620606c724f22754662797b93c4161aaf3e36d5a42a586ae7e4b227cdf67d55c88d3979635e78661d7029f1a5967c503a9f9dde5
SHA512 (texlive-20240311-source-clean.tar.xz) = 3e8b0306d00747004308e39911f00f439ea0292b4d46b370b8d3652b00f546c3bf72563d67f6046d50419986bf6c89b71a41da7b1ed4ab99b36d4e5a443dd1f9

View File

@ -1,3 +1,6 @@
# workaround for parallelism build issue
%global _smp_mflags -j6
%global tl_epoch 13
%global source_date 20240311
%global tl_version %{source_date}
@ -69,7 +72,7 @@ Requires: tex-kpathsea
## Use create-clean-texlive.sh to generate clean tarball from released build tarballs, found here:
# https://ctan.math.illinois.edu/systems/texlive/Source/%%{source_name}.tar.xz
Source0: texlive-%{source_date}-source.tar.xz
Source0: texlive-%{source_date}-source-clean.tar.xz
Source1: macros.texlive
Source2: https://ctan.math.illinois.edu/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
Source3: texlive-licenses.tar.xz
@ -24455,10 +24458,18 @@ cd work
--disable-ps2eps \
--disable-ps2pk \
--disable-xml2pmx \
%if %{luajittex}
%ifarch aarch64 %{power64} s390 s390x
--disable-mfluajit \
%if ! %{luajittex}
--disable-luajittex \
--disable-luajithbtex \
--disable-mfluajit-nowin \
%endif
%else
--disable-mfluajit \
--disable-luajittex \
--disable-luajithbtex \
--disable-mfluajit-nowin \
%endif
--disable-xindy \
--disable-xindy-docs \