diff --git a/mercurial.spec b/mercurial.spec index e84f9b8..c62050c 100644 --- a/mercurial.spec +++ b/mercurial.spec @@ -113,7 +113,8 @@ mkdir -p $RPM_BUILD_ROOT%{emacs_lispdir} pushd contrib for file in mercurial.el mq.el; do - emacs -batch -l mercurial.el --no-site-file -f batch-byte-compile $file + #emacs -batch -l mercurial.el --no-site-file -f batch-byte-compile $file + %{_emacs_bytecompile} $file install -p -m 644 $file ${file}c $RPM_BUILD_ROOT%{emacs_lispdir} rm ${file}c done