Do not use /tmp for log
This commit is contained in:
parent
3584acfe0f
commit
7f58fdf02e
|
@ -20,7 +20,7 @@
|
|||
|
||||
Name: %{shortname}-base
|
||||
Version: %{source_date}
|
||||
Release: 4%{?dist}.2
|
||||
Release: 4%{?dist}.3
|
||||
Epoch: 7
|
||||
Summary: TeX formatting system
|
||||
# The only files in the base package are directories, cache, and license texts
|
||||
|
@ -6537,7 +6537,7 @@ done
|
|||
|
||||
%build
|
||||
%if %{without bootstrap}
|
||||
cat /tmp/kpathsea.log || :
|
||||
cat /usr/share/texlive/kpathsea.log || :
|
||||
# DEBUG
|
||||
# Okay. Lets look at things.
|
||||
# 1. /usr/share/texlive/texmf-dist/web2c/fmtutil.cnf should exist and be valid.
|
||||
|
@ -6946,15 +6946,16 @@ fi
|
|||
%transfiletriggerin -n %{shortname}-kpathsea -- %{_texdir}
|
||||
# %{_bindir}/texhash 2> /dev/null || :
|
||||
# DEBUG, lets see what it does
|
||||
/usr/bin/sh -x %{_bindir}/texhash 2>&- | tee -a /tmp/kpathsea.log || :
|
||||
touch /usr/share/texlive/kpathsea.log
|
||||
/usr/bin/sh -x %{_bindir}/texhash 2>&- | tee -a /usr/share/texlive/kpathsea.log || :
|
||||
export TEXMF=/usr/share/texlive/texmf-dist
|
||||
export TEXMFCNF=/usr/share/texlive/texmf-dist/web2c
|
||||
export TEXMFCACHE=/var/lib/texmf
|
||||
# %{_bindir}/mtxrun --generate &> /dev/null || :
|
||||
# %{_bindir}/fmtutil-sys --all &> /dev/null || :
|
||||
# DEBUG, lets see what it does
|
||||
%{_bindir}/mtxrun --generate 2>&- | tee -a /tmp/kpathsea.log || :
|
||||
%{_bindir}/fmtutil-sys --all 2>&- | tee -a /tmp/kpathsea.log || :
|
||||
%{_bindir}/mtxrun --generate 2>&- | tee -a /usr/share/texlive/kpathsea.log || :
|
||||
%{_bindir}/fmtutil-sys --all 2>&- | tee -a /usr/share/texlive/kpathsea.log || :
|
||||
|
||||
%transfiletriggerpostun -n %{shortname}-kpathsea -- %{_texdir}
|
||||
%{_bindir}/texhash 2> /dev/null || :
|
||||
|
|
Loading…
Reference in New Issue