diff --git a/emacs-auctex.spec b/emacs-auctex.spec index 13146de..60575e4 100644 --- a/emacs-auctex.spec +++ b/emacs-auctex.spec @@ -124,6 +124,11 @@ you cannot use this package for XEmacs. ;; (load "preview-latex.el" nil t t) EOF + for el in auctex.el preview-latex.el + do + test -e %{buildroot}%{_sitedir}/$el || continue + mv %{buildroot}%{_sitedir}/$el %{buildroot}%{_sitedir}/site-start.d/ + done # # Preview is part of te_latex #