Accepting request 179111 from editors

- Fix connection problem to Typhoon nntp servers, (for example nntp.opensuse.org)
  Instead of  CAPABILITIES command use HELP 
  *  emacs-24.3-nntp-typhoon-fix.patch (forwarded request 179100 from WernerFink)

OBS-URL: https://build.opensuse.org/request/show/179111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs?expand=0&rev=96
This commit is contained in:
Stephan Kulow 2013-06-18 13:11:12 +00:00 committed by Git OBS Bridge
commit 811fbfbc74
3 changed files with 36 additions and 5 deletions

View File

@ -0,0 +1,15 @@
---
lisp/gnus/nntp.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/lisp/gnus/nntp.el
+++ b/lisp/gnus/nntp.el
@@ -1282,7 +1282,7 @@ If SEND-IF-FORCE, only send authinfo to
"nntpd" pbuffer nntp-address nntp-port-number
:type (cadr (assoc nntp-open-connection-function map))
:end-of-command "^\\([2345]\\|[.]\\).*\n"
- :capability-command "CAPABILITIES\r\n"
+ :capability-command "HELP\r\n"
:success "^3"
:starttls-function
(lambda (capabilities)

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Jun 15 15:14:01 UTC 2013 - toganm@opensuse.org
- Fix connection problem to Typhoon nntp servers. Instead of
CAPABILITIES use HELP
* emacs-24.3-nntp-typhoon-fix.patch
-------------------------------------------------------------------
Fri Jun 7 07:53:58 UTC 2013 - werner@suse.de
- Enforce update alternatives simply to avoid bug reports about
warnings
-------------------------------------------------------------------
Thu Jun 6 16:13:16 UTC 2013 - werner@suse.de

View File

@ -103,6 +103,7 @@ Patch16: emacs-24.3-flyspell.patch
Patch22: emacs-24.1-bnc628268.patch
Patch23: emacs-24.3-xevent.patch
Patch25: emacs-24.3-giflib5.patch
Patch26: emacs-24.3-nntp-typhoon-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
%if "%_exec_prefix" == "/usr/X11R6"
@ -216,6 +217,7 @@ and most assembler-like syntaxes.
%patch22 -p0
%patch23 -p0
%patch25 -p0
%patch26 -p1
%if %{without autoconf}
# We don't want to run autoconf
@ -579,13 +581,14 @@ done
%if 0%{suse_version} >= 1300
%post -n etags
test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags
update-alternatives --install %{_bindir}/ctags ctags %{_bindir}/gnuctags 10 \
--slave %{_mandir}/man1/ctags.1.gz ctags.1 %{_mandir}/man1/gnuctags.1.gz
update-alternatives --auto ctags
%{_sbindir}/update-alternatives --quiet --force --install \
%{_bindir}/ctags ctags %{_bindir}/gnuctags 10 \
--slave %{_mandir}/man1/ctags.1.gz ctags.1 %{_mandir}/man1/gnuctags.1.gz
%{_sbindir}/update-alternatives --auto ctags
%preun -n etags
if [ $1 -eq 0 ]; then
update-alternatives --remove ctags %{_bindir}/gnuctags
if test $1 -eq 0 ; then
%{_sbindir}/update-alternatives --quiet --remove ctags %{_bindir}/gnuctags
fi
%endif