SHA256
1
0
forked from pool/emacs

Updating link to change in openSUSE:Factory/emacs revision 48.0

OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=3032e43ebef726e04604ea9fa56b594f
This commit is contained in:
OBS User buildservice-autocommit 2010-04-05 16:46:56 +00:00 committed by Git OBS Bridge
parent a06ec2bfcc
commit 51c4bf6fc4
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 5 18:32:53 CEST 2010 - ro@suse.de
- make emacs wrapper script a little more smart
check if default toolkit is installed, else use fallbacks
-------------------------------------------------------------------
Sun Apr 4 15:39:02 CEST 2010 - ro@suse.de

View File

@ -25,7 +25,7 @@ Url: http://www.gnu.org/software/emacs/
License: GPLv2+
Group: Productivity/Editors/Emacs
Version: 23.1
Release: 11
Release: 12
Obsoletes: ge_exec ge_site emac_nox emacmisc emacsbin emacsger emacs-url Mule-UCS emacs-calc erc
Requires: emacs-info = %{version}
Requires: emacs_program = %{version}-%{release}
@ -457,7 +457,16 @@ cat > %{buildroot}/usr/bin/emacs <<-"EOF"
#!/bin/bash
# Possible values are nox, gtk, or x11
: ${EMACS_TOOLKIT:=gtk}
exec -a ${0} ${0}-${EMACS_TOOLKIT} ${1+"$@"}
if test -e ${0}-${EMACS_TOOLKIT} ; then
exec -a ${0} ${0}-${EMACS_TOOLKIT} ${1+"$@"}
elif test -e ${0}-x11 ; then
exec -a ${0} ${0}-x11 ${1+"$@"}
elif test -e ${0}-nox ; then
exec -a ${0} ${0}-nox ${1+"$@"}
else
echo "no emacs binary found"
exit 1
fi
EOF
%endif
chmod 0755 %{buildroot}/usr/bin/emacs