From d63f2b2d7d9ec4c7e9b1c1419c43fbba3a2c4bd7 Mon Sep 17 00:00:00 2001 From: Daniel Novotny Date: Tue, 22 Sep 2009 08:57:39 +0000 Subject: [PATCH] fix #510750 --- emacs.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/emacs.spec b/emacs.spec index 85bf636..cf82346 100644 --- a/emacs.spec +++ b/emacs.spec @@ -4,7 +4,7 @@ Summary: GNU Emacs text editor Name: emacs Epoch: 1 Version: 23.1 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -143,6 +143,13 @@ rm -f lisp/play/tetris.el lisp/play/tetris.elc rm -f etc/sex.6 etc/condom.1 etc/celibacy.1 etc/COOKIES etc/future-bug etc/JOKES %endif +%define info_files ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse ediff efaq eintr elisp emacs emacs-mime epa erc eshell eudc flymake forms gnus idlwave info mairix-el message mh-e newsticker nxml-mode org pcl-cvs pgg rcirc reftex remember sasl sc ses sieve smtpmail speedbar tramp url vip viper widget woman + +if test "$(perl -e 'while (<>) { if (/^INFO_FILES/) { s/.*=//; while (s/\\$//) { s/\\//; $_ .= <>; }; s/\s+/ /g; s/^ //; s/ $//; print; exit; } }' Makefile.in)" != "%info_files"; then + echo Please update info_files >&2 + exit 1 +fi + %ifarch %{ix86} %define setarch setarch %{_arch} -R %else @@ -265,8 +272,6 @@ cat el-*-files common-lisp-dir-files > el-filelist %clean rm -rf %{buildroot} -%define info_files ada-mode autotype calc ccmode cl dired-x ebrowse ediff efaq eintr elisp0 elisp1 elisp emacs emacs-mime emacs-xtra erc eshell eudc flymake forms gnus idlwave info message mh-e newsticker org pcl-cvs pgg rcirc reftex sc ses sieve smtpmail speedbar tramp url viper vip widget woman - %post update-desktop-database &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor @@ -370,6 +375,9 @@ alternatives --install %{_bindir}/etags emacs.etags %{_bindir}/etags.emacs 80 \ %dir %{_datadir}/emacs/%{version} %changelog +* Tue Sep 22 2009 Daniel Novotny 1:23.1-7 +- updated %%info_files (#510750) + * Mon Aug 31 2009 Daniel Novotny 1:23.1-6 - fixed buffer menu (#515722)