* Michal Jaegermann (2005-10-24) writes:

> One more thing about this spec file I attached in the original
> message.

Are you aware that there is a spec file for AUCTeX 11.81 available
from AUCTeX's CVS repository?  See
e.g. <URL:http://savannah.gnu.org/cgi-bin/viewcvs/auctex/auctex/auctex.spec>.
I don't know about its state but if there are problems with it, any
help in fixing them is welcome.

> Older versions were creating in %post scripts an
> auctex-init.el startup file, or it could have been just added "by
> hand".  Now this name has changed.  Therefore it is likely a good
> idea to add in a %pre script of auctex-11.81 something of that sort:
>
>   oldinit=/usr/share/emacs/site-lisp/site-start.d/auctex-init.el
>   [ -f $oldinit ] && mv $oldinit $oldinit.bak
>
> or equivalent.

The spec file of AUCTeX 11.53 includes this:

%preun emacs
# $1 is the number of versions of this package installed
# after this uninstallation
if [ $1 -eq 0 ]; then
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/auctex
  rm -f %{startupfile}
fi

IIUC this will take care of the startup file.

-- 
Ralf


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to