Accepting request 127288 from home:lnussel:branches:editors

- don't package /var/run/vi.recover anymore (bnc#765288)

OBS-URL: https://build.opensuse.org/request/show/127288
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=105
This commit is contained in:
Dominique Leuenberger 2012-07-06 13:58:45 +00:00 committed by Git OBS Bridge
parent 5e86aec097
commit 9460462b92
3 changed files with 5 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 6 08:57:31 UTC 2012 - lnussel@suse.de
- don't package /var/run/vi.recover anymore (bnc#765288)
-------------------------------------------------------------------
Tue Jun 26 09:27:19 UTC 2012 - idonmez@suse.com

View File

@ -1,3 +0,0 @@
d /var/run/vi.recover 1777 root root -

View File

@ -91,7 +91,6 @@ Source15: vim132
Source18: missing-vim-client
Source19: gvim.desktop
Source20: spec.skeleton
Source22: vim.conf
Source23: apparmor.vim
Source98: %{name}-7.3-patches.tar.bz2
Source99: %{name}-7.3-rpmlintrc
@ -456,9 +455,6 @@ install -D -m 0644 \
#
# stupid helper
install -m 0755 %{SOURCE18} %{buildroot}%{_datadir}/vim/current/tools/missing-vim-client
# For /var/run on tmpfs
mkdir -p %{buildroot}/usr/lib/tmpfiles.d/
install -m 644 %{SOURCE22} %{buildroot}/usr/lib/tmpfiles.d/
# remove unecessary duplicate manpages
rm -rf %{buildroot}%{_mandir}/fr.ISO8859-1/
rm -rf %{buildroot}%{_mandir}/fr.UTF-8/
@ -489,10 +485,6 @@ mkdir -p %{buildroot}/var/run/vi.recover
%post base
/usr/sbin/update-alternatives --install \
/bin/vim vim %{_datadir}/vim/current/tools/missing-vim-client 0
# Create tmpfiles
if [ -x /bin/systemd-tmpfiles ]; then
/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/vim.conf
fi
%post enhanced
/usr/sbin/update-alternatives --install \
@ -556,9 +548,6 @@ fi
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/vimrc
%ghost %{_sysconfdir}/alternatives/vim
%dir /usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/vim.conf
%ghost %dir /var/run/vi.recover
# symlinks
/bin/vi
/bin/vim