diff --git a/msmtp.changes b/msmtp.changes index 5484c15..959e8e4 100644 --- a/msmtp.changes +++ b/msmtp.changes @@ -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 diff --git a/msmtp.spec b/msmtp.spec index c1fab39..73a6b29 100644 --- a/msmtp.spec +++ b/msmtp.spec @@ -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)