Bootstrap on riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-03-02 11:30:05 +02:00
parent c313c6c621
commit 6d51c70cf3
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 11 additions and 7 deletions

View File

@ -16,14 +16,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: 68%{?dist}
Release: 68.0.riscv64%{?dist}
Epoch: 10
Summary: TeX formatting system
# The only files in the base package are directories, cache, and license texts
@ -7544,7 +7544,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}
@ -7882,7 +7882,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
@ -9028,7 +9028,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
@ -9112,7 +9112,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
@ -9232,7 +9232,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
@ -10194,6 +10194,10 @@ yes | %{_bindir}/updmap-sys --quiet --syncwithtrees >/dev/null 2>&1 || :
%doc %{_texdir}/texmf-dist/doc/latex/yplan/
%changelog
* Thu Mar 02 2023 David Abdurachmanov <davidlt@rivosinc.com> - 10:20220321-68.0.riscv64
- Add support for riscv64
- Enable bootstrap
* Tue Jan 31 2023 Tom Callaway <spot@fedoraproject.org> - 10:20220321-68
- fix header order for xpdf dependent bits to ensure off_t is set properly on i686