diff --git a/texlive-base.spec b/texlive-base.spec index 7411a7ae13def8b804fc12e96c98504065ac5b31..9ef12ec679f1ada20d625642df5dab167488c78e 100644 --- a/texlive-base.spec +++ b/texlive-base.spec @@ -1,4 +1,4 @@ -%define anolis_release 15 +%define anolis_release 16 %global shortname texlive %global source_date 20220321 %global source_name texlive-%{source_date}-source @@ -506,7 +506,7 @@ of TeX macros and font libraries. The distribution includes extensive general documentation about TeX, as well as the documentation for the included software packages. -%ifnarch loongarch64 +%ifnarch loongarch64 riscv64 %include %{SOURCE10000} %else %include %{SOURCE10001} @@ -596,7 +596,7 @@ export XPDF_LIBS="-lxpdfcore -lfofi -lgoo -lsplash $GLIB_LIBS $PAPER_LIBS $FONTC --disable-native-texlive-build --disable-t1utils --enable-psutils --disable-biber --disable-ptexenc --disable-largefile \ --with-banner-add='/CVE-2023-32700 patched' \ --with-system-xpdf \ -%ifarch loongarch64 +%ifarch loongarch64 riscv64 --disable-mfluajit \ --disable-luajithbtex \ --disable-luajittex \ @@ -859,7 +859,7 @@ for i in afm2pl afm2tfm aleph bibtex bibtex8 bibtexu chkdvifont chktex ctie ctan chrpath --delete %{buildroot}%{_bindir}/$i done -%ifnarch loongarch64 +%ifnarch loongarch64 riscv64 chrpath --delete %{buildroot}%{_bindir}/luajithbtex chrpath --delete %{buildroot}%{_bindir}/luajittex chrpath --delete %{buildroot}%{_bindir}/mfluajit @@ -1000,6 +1000,9 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || : %ghost %{_datadir}/texmf.rpmmoved %changelog +* Sun Apr 27 2025 Shangtong Guo - 10:20220321-16 +- add support for riscv64 build + * Tue Oct 10 2023 Wenlong Zhang - 10:20220321-15 - disable luajit for loongarch64