rpms/emacs/devel emacs.spec,1.142,1.143

Daniel Novotny dnovotny at fedoraproject.org
Mon Oct 19 09:02:07 UTC 2009


Author: dnovotny

Update of /cvs/extras/rpms/emacs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18143

Modified Files:
	emacs.spec 
Log Message:
fixed update-directory-autoloads (#474958)



Index: emacs.spec
===================================================================
RCS file: /cvs/extras/rpms/emacs/devel/emacs.spec,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -p -r1.142 -r1.143
--- emacs.spec	14 Oct 2009 12:18:40 -0000	1.142
+++ emacs.spec	19 Oct 2009 09:02:05 -0000	1.143
@@ -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 
 %dir %{_datadir}/emacs/%{version}
 
 %changelog
+* Mon Oct 19 2009 Daniel Novotny <dnovotny at redhat.com> 1:23.1-13
+- fixed update-directory-autoloads (#474958)
+
 * Wed Oct 14 2009 Daniel Novotny <dnovotny at redhat.com> 1:23.1-12
 - do not compress the files which implement compression itself (#484830)
 




More information about the scm-commits mailing list