Hello community, here is the log from the commit of package vim for openSUSE:Factory checked in at 2011-11-25 23:13:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vim (Old) and /work/SRC/openSUSE:Factory/.vim.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vim", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/vim/vim.changes 2011-11-23 19:38:04.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.vim.new/vim.changes 2011-11-25 23:06:13.000000000 +0100 @@ -1,0 +2,7 @@ +Wed Nov 23 13:05:42 UTC 2011 - [email protected] + +- Create tmpfiles during install +- Fix tmpfiles handling +- Own directory /var/run/vi.recover + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vim.spec ++++++ --- /var/tmp/diff_new_pack.0Ghsd3/_old 2011-11-25 23:06:15.000000000 +0100 +++ /var/tmp/diff_new_pack.0Ghsd3/_new 2011-11-25 23:06:15.000000000 +0100 @@ -37,6 +37,7 @@ BuildRequires: tcl-devel BuildRequires: update-alternatives BuildRequires: update-desktop-files +BuildRequires: systemd # BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1130 @@ -65,6 +66,7 @@ PreReq: fileutils PreReq: sh-utils PreReq: update-alternatives +Requires(post): systemd # Provides: vim_client Provides: vi @@ -456,6 +458,8 @@ rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/*.c rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/macros/maze/*.c # +# Create ghost files (see vim.conf) +mkdir -p %{buildroot}/var/run/vi.recover %if 0%{?suse_version} > 1020 %fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/lang @@ -474,6 +478,8 @@ %post base /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 %post enhanced /usr/sbin/update-alternatives --install \ @@ -529,7 +535,8 @@ %config(noreplace) %{_sysconfdir}/vimrc %ghost %{_sysconfdir}/alternatives/vim %dir /usr/lib/tmpfiles.d -%config(noreplace) /usr/lib/tmpfiles.d/vim.conf +/usr/lib/tmpfiles.d/vim.conf +%ghost %dir /var/run/vi.recover # symlinks /bin/vi /bin/vim -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
