diff --git a/texlive-base.spec b/texlive-base.spec index 3ba5d3bb8f78262ac6cac549c1ba35153863d3bf..8466f245c1cef2b620b5cebad1b27666ce8e7c61 100644 --- a/texlive-base.spec +++ b/texlive-base.spec @@ -1,4 +1,4 @@ -%define anolis_release 17 +%define anolis_release 18 %global shortname texlive %global source_date 20220321 %global source_name texlive-%{source_date}-source @@ -617,7 +617,11 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' $i sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' $i done +%ifarch loongarch64 riscv64 +make -O -j1 V=1 VERBOSE=1 world STRIPPROG=/bin/true STRIP=/bin/true +%else %make_build world STRIPPROG=/bin/true STRIP=/bin/true +%endif %install mkdir -p %{buildroot}%{_texdir}/texmf-config/web2c @@ -1003,6 +1007,9 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || : %ghost %{_datadir}/texmf.rpmmoved %changelog +* Mon Nov 24 2025 mgb01105731 - 10:20220321-18 +- Fix build err in loongarch and riscv + * Tue Aug 12 2025 wh02252983 - 10:20220321-17 - add patch to fix CVE-2023-46048