Dominique Leuenberger 2018-09-04 20:57:31 +00:00 committed by Git OBS Bridge
commit 23283e35b7
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 25 20:15:52 UTC 2018 - mcepl@suse.com
- Put the system-wide config in /etc, and just a symlink to $VIM
(hopefully finally fixes boo#1098800)
-------------------------------------------------------------------
Sat Aug 18 15:04:51 UTC 2018 - Matěj Cepl <mcepl@suse.com>

View File

@ -103,7 +103,9 @@ make %{?_smp_mflags}
%cmake_install
# system-wide configuration file
install -D -m 644 -p %{SOURCE1} %{buildroot}%{_datadir}/nvim/sysinit.vim
install -D -m 644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}/nvim/sysinit.vim
ln -sf %{_sysconfdir}/nvim/sysinit.vim %{buildroot}%{_datadir}/nvim/sysinit.vim
%if 0%{?suse_version}
install -p -m 644 %{SOURCE3} %{buildroot}%{_datadir}/nvim/template.spec
%else
@ -131,6 +133,8 @@ install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/nvim/template.spec
%{_datadir}/applications/nvim.desktop
%{_datadir}/pixmaps/nvim.png
%{_mandir}/man1/nvim.1%{?ext_man}
%dir %{_sysconfdir}/nvim
%config(noreplace) %{_sysconfdir}/nvim/sysinit.vim
%files lang -f nvim.lang