69dd38cb0d
- no longer need movemail-CAN-2005-0100.patch - replace %{_bindir}/emacs alternatives with a wrapper script (Warren Togami) to prevent it from disappearing when upgrading (Michal Jaegermann, 154326) - suffix the X emacs binaries with -x and the no X binaries with -nox - the wrapper script %{_bindir}/emacs-%%version runs emacs-x if installed or otherwise emacs-nox. %{_bindir}/emacs is a symlink to the wrapper - make emacs and emacs-nox own the subdirs in %{_libexecdir} - add a bunch of fixes from debian's emacs21_21.4a-1 patch: battery-acpi-support.dpatch, bzero-and-have-stdlib.dpatch, coding-region-leak.dpatch, detect-coding-iso2022.dpatch, fix-batch-mode-signal-handling.dpatch, pcl-cvs-format.dpatch, python-completion-ignored-extensions.dpatch, remote-files-permissions.dpatch, save-buffer.dpatch, scroll-margin.dpatch, xfree86-4.3-modifiers.dpatch - add fix-x-vs-no-x-diffs.dpatch - define emacs_libexecdir - build both emacs and emacs-nox as %%{version}.1 and move common DOC file to emacs-common - suffix version in fns-%%{version}.1.el with -x and -nox respectively - add 100 to elisp patches
11 lines
176 B
Bash
Executable File
11 lines
176 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PROG_NAME=`basename $0`
|
|
|
|
for i in x nox; do
|
|
[ -x "/usr/bin/${PROG_NAME}-$i" ] && exec /usr/bin/${PROG_NAME}-$i "$@"
|
|
done
|
|
|
|
echo "Can't find $PROG_NAME" 1>&2
|
|
exit 1
|