diff -r 0838649dd325 -r ed99728b62ad tetex/tetex.spec --- a/tetex/tetex.spec Fri Aug 10 14:12:46 2012 +0200 +++ b/tetex/tetex.spec Fri Aug 10 14:15:27 2012 +0200 @@ -39,7 +39,7 @@ Group: Typesetting License: GPL Version: %{V_src} -Release: 20120623 +Release: 20120800 # list of sources Source0: ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/%{V_base}/distrib/tetex-src-%{V_src}.tar.gz @@ -147,6 +147,7 @@ Makefile.in %build + smpcpu=`echo %{l_mflags -O} | %{l_shtool} subst -e 's;.*\(\-j[1-9][0-9]*\).*;\1'` # configure the system by using the (wrong) paths to the temporary # installation area, followed by by a step for fixing the paths # (to the correct values) inside the kpathsea library (which @@ -183,14 +184,14 @@ %{l_shtool} subst -v \ -e "s;$RPM_BUILD_ROOT%{l_prefix};%{l_prefix};" \ `find . -type f -print` - eval "make all" + eval "make $smpcpu all" ) || exit $? # build the sources # (we cannot use %{l_make}, because teTeX dislikes absolute paths # for make. Instead we work-around via $PATH. The redundant # "eval" around the call is just to shut-up speclint) - eval "make all" + eval "make $smpcpu all" %install # reinstall teTeX texmf stuff