Accepting request 284821 from editors

- don't reference unexistant info pages (only exist on win32) (forwarded request 284713 from coolo)

OBS-URL: https://build.opensuse.org/request/show/284821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs?expand=0&rev=113
This commit is contained in:
Stephan Kulow 2015-02-16 14:02:17 +00:00 committed by Git OBS Bridge
commit 71379d8af8
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Feb 7 19:47:29 UTC 2015 - coolo@suse.com
- don't reference unexistant info pages (only exist on win32)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 13 14:59:50 UTC 2015 - werner@suse.de Tue Jan 13 14:59:50 UTC 2015 - werner@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package emacs # spec file for package emacs
# #
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -129,7 +129,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define appDefaultsDir %{_x11data}/app-defaults %define appDefaultsDir %{_x11data}/app-defaults
%define appDefaultsFile %{appDefaultsDir}/Emacs %define appDefaultsFile %{appDefaultsDir}/Emacs
%endif %endif
%define info_files emacs eintr elisp ada-mode auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede ediff edt efaq efaq-w32 eieio emacs-gnutls emacs-mime epa erc ert eshell eudc eww flymake forms gnus htmlfontify idlwave ido mairix-el message mh-e newsticker nxml-mode octave-mode org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail speedbar srecode todo-mode tramp url vip viper widget wisent woman %define info_files emacs eintr elisp ada-mode auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede ediff edt efaq eieio emacs-gnutls emacs-mime epa erc ert eshell eudc eww flymake forms gnus htmlfontify idlwave ido mairix-el message mh-e newsticker nxml-mode octave-mode org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail speedbar srecode todo-mode tramp url vip viper widget wisent woman
%description %description
Basic package for the GNU Emacs editor. Requires emacs-x11 or Basic package for the GNU Emacs editor. Requires emacs-x11 or
@ -290,7 +290,8 @@ exit 1
esac esac
} }
info_found="$(sed -rn '\@^\$[({](build)?infodir[})]/@{ s@\$\([A-Z_]*\)@@;s@.*/([^:]*):.*@\1@p; }' doc/*/Makefile.in|grep -v ^info|xargs)" # remove reference to win32 info page
info_found="$(sed -rn '\@^\$[({](build)?infodir[})]/@{ s@\$\([A-Z_]*\)@@;s@.*/([^:]*):.*@\1@p; }' doc/*/Makefile.in|grep -v ^info|xargs|sed -e 's,efaq-w32 ,,')"
if test "$info_found" != "%info_files" if test "$info_found" != "%info_files"
then then
echo Please update info_files >&2 echo Please update info_files >&2