diff --git a/vim.changes b/vim.changes index 7a1d3ab..82d10d9 100644 --- a/vim.changes +++ b/vim.changes @@ -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 diff --git a/vim.spec b/vim.spec index 2a97504..ae9d9fa 100644 --- a/vim.spec +++ b/vim.spec @@ -158,8 +158,6 @@ Summary: Vi IMproved Group: Productivity/Editors/Vi PreReq: %{vim_prereq} PreReq: update-alternatives -# For post script -Requires: systemd %description base 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 \ /bin/vim vim %{_datadir}/vim/current/tools/missing-vim-client 0 # 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 /usr/sbin/update-alternatives --install \