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:
parent
5e86aec097
commit
9460462b92
@ -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
|
||||
|
||||
|
11
vim.spec
11
vim.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user