From 45dc10b591390005b921ff0e83fd3288a3b3c4a2 Mon Sep 17 00:00:00 2001 From: Guost123 Date: Sun, 27 Apr 2025 17:28:28 +0800 Subject: [PATCH] adapt for riscv64 --- texlive-base.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/texlive-base.spec b/texlive-base.spec index 7411a7a..9ef12ec 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 -- Gitee