Accepting request 971085 from editors
OBS-URL: https://build.opensuse.org/request/show/971085 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim?expand=0&rev=307
This commit is contained in:
commit
2a1a879879
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 19 21:19:35 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- skip empty post/postun on gvim for SLE15+
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 13 13:59:49 UTC 2022 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
8
vim.spec
8
vim.spec
@ -505,11 +505,14 @@ if [ "$1" -gt 0 ] && [ -f %{_sbindir}/update-alternatives ] && [ ! -e %{_bindir}
|
||||
%{_sbindir}/update-alternatives --remove vim %{_bindir}/vim-small
|
||||
fi
|
||||
|
||||
%if 0%{?suse_version} <= 1315
|
||||
%post -n gvim
|
||||
%icon_theme_cache_post
|
||||
|
||||
%postun -n gvim
|
||||
%icon_theme_cache_postun
|
||||
%endif
|
||||
|
||||
%else
|
||||
|
||||
# without libalternatives
|
||||
@ -527,14 +530,17 @@ fi
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_bindir}/vim vim %{_bindir}/gvim 30 \
|
||||
--slave %{_bindir}/vi vi %{_bindir}/gvim
|
||||
|
||||
%if 0%{?suse_version} <= 1315
|
||||
%icon_theme_cache_post
|
||||
%endif
|
||||
|
||||
%postun -n gvim
|
||||
if [ ! -e %{_bindir}/gvim ] ; then
|
||||
%{_sbindir}/update-alternatives --remove vim %{_bindir}/gvim
|
||||
fi
|
||||
%if 0%{?suse_version} <= 1315
|
||||
%icon_theme_cache_postun
|
||||
%endif
|
||||
|
||||
%post small
|
||||
%{_sbindir}/update-alternatives \
|
||||
|
Loading…
Reference in New Issue
Block a user