diff --git a/texlive-base.spec b/texlive-base.spec index 001ecdb6e5632762a1ea33c3e5899469ffeaa9b7..578454b56a3110cc28700f448805af4973808410 100644 --- a/texlive-base.spec +++ b/texlive-base.spec @@ -4,7 +4,7 @@ Name: texlive-base Version: 20180414 -Release: 33 +Release: 34 Epoch: 7 Summary: TeX formatting system License: ASL 2.0 and LGPL-2.1-only and Zlib and OFL-1.1 and Public Domain and LGPL-2.0-only and GPLv2+ and MPL-1.1 and Libpng and LGPL-3.0-only and BSL-1.0 and GPLv2 and GPLv3 and CPL-1.0 and IJG and MIT and LPPL-1.3c and ICU and psutils @@ -5848,6 +5848,14 @@ done %global mysources %{lua: for index,value in ipairs(sources) do if index >= 16 then print(value.." ") end end} +%ifarch loongarch64 +sed -i '/fmt=pdfimage/d' source/texk/web2c/pdftexdir/pdfimage.test +sed -i '14d' source/texk/web2c/pdftexdir/pdftosrc.test +sed -i '/src\/test-13/d' source/texk/web2c/pdftexdir/pdftosrc.test +sed -i '/pdftosrc test-13.pdf/d' source/texk/web2c/pdftexdir/pdftosrc.test +sed -i '/test-13.xref/d' source/texk/web2c/pdftexdir/pdftosrc.test +%endif + %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Werror=format-security -fcommon" export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11 -fno-strict-aliasing -Werror=format-security -fcommon" @@ -5866,7 +5874,7 @@ cd work --enable-shared --enable-compiler-warnings=max --without-cxx-runtime-hack \ --disable-native-texlive-build --disable-t1utils --disable-psutils --disable-biber --disable-ptexenc --disable-largefile \ --disable-xindy --disable-xindy-docs --disable-xindy-make-rules \ -%ifarch aarch64 +%ifarch aarch64 loongarch64 --disable-luajittex --disable-mfluajit \ %endif --disable-rpath @@ -7077,7 +7085,7 @@ done <<< "$list" %{_includedir}/synctex/ %{_includedir}/texlua52/ %{_includedir}/texlua53/ -%ifnarch aarch64 +%ifnarch aarch64 loongarch64 %{_includedir}/texluajit/ %endif %{_libdir}/*.so @@ -7146,7 +7154,7 @@ done <<< "$list" %files -n texlive-luatex %license gpl2.txt %{_bindir}/dviluatex -%ifnarch aarch64 +%ifnarch aarch64 loongarch64 %{_bindir}/luajittex %{_bindir}/texluajit %{_bindir}/texluajitc @@ -7253,7 +7261,7 @@ done <<< "$list" %license gpl2.txt %{_bindir}/mflua %{_bindir}/mflua-nowin -%ifnarch aarch64 +%ifnarch aarch64 loongarch64 %{_bindir}/mfluajit %{_bindir}/mfluajit-nowin %endif @@ -8108,6 +8116,9 @@ done <<< "$list" %doc %{_datadir}/texlive/texmf-dist/doc/latex/yplan/ %changelog +* Wed Apr 20 2022 Ge Wang - 20180414-34 +- Add Loongarch architecture support + * Wed Jan 19 2022 xu_ping - 20180414-33 - remove useless BuildRequires poppler