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
|
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
|
Source18: missing-vim-client
|
||||||
Source19: gvim.desktop
|
Source19: gvim.desktop
|
||||||
Source20: spec.skeleton
|
Source20: spec.skeleton
|
||||||
Source22: vim.conf
|
|
||||||
Source23: apparmor.vim
|
Source23: apparmor.vim
|
||||||
Source98: %{name}-7.3-patches.tar.bz2
|
Source98: %{name}-7.3-patches.tar.bz2
|
||||||
Source99: %{name}-7.3-rpmlintrc
|
Source99: %{name}-7.3-rpmlintrc
|
||||||
@ -456,9 +455,6 @@ install -D -m 0644 \
|
|||||||
#
|
#
|
||||||
# stupid helper
|
# stupid helper
|
||||||
install -m 0755 %{SOURCE18} %{buildroot}%{_datadir}/vim/current/tools/missing-vim-client
|
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
|
# remove unecessary duplicate manpages
|
||||||
rm -rf %{buildroot}%{_mandir}/fr.ISO8859-1/
|
rm -rf %{buildroot}%{_mandir}/fr.ISO8859-1/
|
||||||
rm -rf %{buildroot}%{_mandir}/fr.UTF-8/
|
rm -rf %{buildroot}%{_mandir}/fr.UTF-8/
|
||||||
@ -489,10 +485,6 @@ mkdir -p %{buildroot}/var/run/vi.recover
|
|||||||
%post base
|
%post base
|
||||||
/usr/sbin/update-alternatives --install \
|
/usr/sbin/update-alternatives --install \
|
||||||
/bin/vim vim %{_datadir}/vim/current/tools/missing-vim-client 0
|
/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
|
%post enhanced
|
||||||
/usr/sbin/update-alternatives --install \
|
/usr/sbin/update-alternatives --install \
|
||||||
@ -556,9 +548,6 @@ fi
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%config(noreplace) %{_sysconfdir}/vimrc
|
%config(noreplace) %{_sysconfdir}/vimrc
|
||||||
%ghost %{_sysconfdir}/alternatives/vim
|
%ghost %{_sysconfdir}/alternatives/vim
|
||||||
%dir /usr/lib/tmpfiles.d
|
|
||||||
/usr/lib/tmpfiles.d/vim.conf
|
|
||||||
%ghost %dir /var/run/vi.recover
|
|
||||||
# symlinks
|
# symlinks
|
||||||
/bin/vi
|
/bin/vi
|
||||||
/bin/vim
|
/bin/vim
|
||||||
|
Loading…
Reference in New Issue
Block a user