Add support for riscv64 & bootstrap

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-11-27 10:38:32 +02:00
parent 2b476ad04f
commit f6aa90f4c0
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 11 additions and 7 deletions

View File

@ -18,14 +18,14 @@
%global __brp_mangle_shebangs_exclude ^$
# We have a circular dep on latex due to xindy
%bcond_with bootstrap
%bcond_without bootstrap
# Upstream no longer supports poppler. We've been hacking it in, but... maybe we should stop?
%bcond_with poppler
Name: %{shortname}-base
Version: %{source_date}
Release: 77%{?dist}
Release: 77.0.riscv64%{?dist}
Epoch: 11
Summary: TeX formatting system
# The only files in the base package are directories, cache, and license texts
@ -8386,7 +8386,7 @@ export XPDF_LIBS="-lxpdfcore -lfofi -lgoo -lsplash $GLIB_LIBS $PAPER_LIBS $FONTC
%else
--with-system-xpdf \
%endif
%ifarch %{power64} s390 s390x
%ifarch %{power64} s390 s390x riscv64
--disable-luajittex --disable-mfluajit --disable-luajithbtex --disable-mfluajit-nowin \
%endif
%if %{without bootstrap} && ! 0%{?eln}
@ -8756,7 +8756,7 @@ for i in afm2pl afm2tfm aleph bibtex bibtex8 bibtexu chkdvifont chktex ctie ctan
chrpath --delete %{buildroot}%{_bindir}/$i
done
%ifnarch %{power64} s390 s390x
%ifnarch %{power64} s390 s390x riscv64
chrpath --delete %{buildroot}%{_bindir}/luajithbtex
chrpath --delete %{buildroot}%{_bindir}/luajittex
chrpath --delete %{buildroot}%{_bindir}/mfluajit
@ -9922,7 +9922,7 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%{_includedir}/kpathsea/*
%{_includedir}/synctex/
%{_includedir}/texlua53/
%ifnarch %{power64} s390 s390x
%ifnarch %{power64} s390 s390x riscv64
%{_includedir}/texluajit/
%endif
%{_libdir}/*.so
@ -10006,7 +10006,7 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%files -n %{shortname}-luajittex
%license gpl2.txt
%ifnarch %{power64} s390 s390x
%ifnarch %{power64} s390 s390x riscv64
%{_bindir}/luajittex
%{_bindir}/luajithbtex
%{_bindir}/texluajit
@ -10127,7 +10127,7 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%license gpl2.txt
%{_bindir}/mflua
%{_bindir}/mflua-nowin
%ifnarch %{power64} s390 s390x
%ifnarch %{power64} s390 s390x riscv64
%{_bindir}/mfluajit
%{_bindir}/mfluajit-nowin
%endif
@ -11109,6 +11109,10 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%doc %{_texdir}/texmf-dist/doc/latex/yplan/
%changelog
* Mon Nov 27 2023 David Abdurachmanov <davidlt@rivosinc.com> - 11:20230311-77.0.riscv64
- Add support for riscv64 (disable LuaJIT)
- Bootstrap
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 11:20230311-77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild