Description of Problem: When trying to rebuild tetex as an user who has a local texmf-root under ~/texmf, the build fails at a sanity check, since tetex (or better latex2html) uses kpsewhich to determine paths: | Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.97346 | ... | /usr/src/redhat/BUILD/teTeX-1.0/latex2html-2K.1beta | creating cache ./config.cache | ... | checking for TeX include path... /home/ensc/texmf/tex/latex/html Therefore, some files will be installed under ~/texmf/... and are missing in the final file-list. Simplest way to prevent this will be the unsetting of HOME: | %build | unset TEXINPUTS || : |+ unset HOME || %
Done in 1.0.7-42. I used: + unset HOME || : Thanks.