Accepting request 171269 from home:namtrac:branches:server:mail

- /usr/share/vim/current is a symlink, resolve it before putting
  any file under there.

OBS-URL: https://build.opensuse.org/request/show/171269
OBS-URL: https://build.opensuse.org/package/show/server:mail/msmtp?expand=0&rev=56
This commit is contained in:
Marcus Rückert 2013-04-19 10:58:14 +00:00 committed by Git OBS Bridge
parent d926cf2b7c
commit b19ed8dd9a
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 17 11:57:50 UTC 2013 - idonmez@suse.com
- /usr/share/vim/current is a symlink, resolve it before putting
any file under there.
-------------------------------------------------------------------
Sat Oct 20 15:37:38 UTC 2012 - benoit.monin@gmx.fr

View File

@ -1,7 +1,7 @@
#
# spec file for package msmtp
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -122,9 +122,9 @@ install -m 0755 \
scripts/set_sendmail/*.sh \
scripts/find_alias/*.sh \
%{buildroot}%{_bindir}
install -D -m 0644 \
scripts/vim/msmtp.vim \
%{buildroot}%{_datadir}/vim/current/syntax/msmtp.vim
vimver=`readlink %{_datadir}/vim/current`
install -D -m 0644 scripts/vim/msmtp.vim %{buildroot}/%{_datadir}/vim/$vimver/syntax/msmtp.vim
# main package doc files
for f in \
@ -186,7 +186,7 @@ rm -f "%{buildroot}%{_infodir}/dir"
%{_bindir}/msmtp-gnome-tool.py
%{_mandir}/man1/msmtp.1%{ext_man}
%{_infodir}/msmtp.info%{ext_info}
%{_datadir}/vim/current/syntax/msmtp.vim
%{_datadir}/vim/*/syntax/msmtp.vim
%files doc -f docfiles.lst
%defattr (-, root, root)