Accepting request 107547 from home:mvyskocil:branches:editors
- remove pointless systemd dependency and run the tmpfiles binary only in case it exists OBS-URL: https://build.opensuse.org/request/show/107547 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=90
This commit is contained in:
parent
d37297561f
commit
b7068b374f
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 29 12:55:57 UTC 2012 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
- remove pointless systemd dependency and run the tmpfiles binary
|
||||||
|
only in case it exists
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 28 12:58:08 UTC 2012 - idonmez@suse.com
|
Tue Feb 28 12:58:08 UTC 2012 - idonmez@suse.com
|
||||||
|
|
||||||
|
6
vim.spec
6
vim.spec
@ -158,8 +158,6 @@ Summary: Vi IMproved
|
|||||||
Group: Productivity/Editors/Vi
|
Group: Productivity/Editors/Vi
|
||||||
PreReq: %{vim_prereq}
|
PreReq: %{vim_prereq}
|
||||||
PreReq: update-alternatives
|
PreReq: update-alternatives
|
||||||
# For post script
|
|
||||||
Requires: systemd
|
|
||||||
|
|
||||||
%description base
|
%description base
|
||||||
Vim (Vi IMproved) is an almost compatible version of the UNIX editor
|
Vim (Vi IMproved) is an almost compatible version of the UNIX editor
|
||||||
@ -467,7 +465,9 @@ mkdir -p %{buildroot}/var/run/vi.recover
|
|||||||
/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
|
# Create tmpfiles
|
||||||
/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/vim.conf
|
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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user