From 42cbd79339f0bfa80a5f83317ffce41c90c93736 Mon Sep 17 00:00:00 2001 From: Daniel Novotny Date: Mon, 19 Oct 2009 09:02:05 +0000 Subject: [PATCH] fixed update-directory-autoloads (#474958) --- emacs.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/emacs.spec b/emacs.spec index 70c8641..8679947 100644 --- a/emacs.spec +++ b/emacs.spec @@ -4,7 +4,7 @@ Summary: GNU Emacs text editor Name: emacs Epoch: 1 Version: 23.1 -Release: 12%{?dist} +Release: 13%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -228,6 +228,11 @@ mkdir -p %{buildroot}%{site_lisp} install -p -m 0644 %SOURCE4 %{buildroot}%{site_lisp}/site-start.el install -p -m 0644 %SOURCE18 %{buildroot}%{site_lisp} +#this solves bz#474958, "update-directory-autoloads" now finally works +#the path is different each version, so we'll generate it here +echo "(setq source-directory \"%{_datadir}/emacs/%{version}/\")" \ + >> %{buildroot}%{site_lisp}/site-start.el + mv %{buildroot}%{_bindir}/{etags,etags.emacs} mv %{buildroot}%{_mandir}/man1/{ctags.1,gctags.1} mv %{buildroot}%{_mandir}/man1/{etags.1,etags.emacs.1} @@ -386,6 +391,9 @@ alternatives --install %{_bindir}/etags emacs.etags %{_bindir}/etags.emacs 80 \ %dir %{_datadir}/emacs/%{version} %changelog +* Mon Oct 19 2009 Daniel Novotny 1:23.1-13 +- fixed update-directory-autoloads (#474958) + * Wed Oct 14 2009 Daniel Novotny 1:23.1-12 - do not compress the files which implement compression itself (#484830)