diff --git a/vim-selinux.patch b/vim-selinux.patch index 7d543a1..9c5f7bf 100644 --- a/vim-selinux.patch +++ b/vim-selinux.patch @@ -43,7 +43,7 @@ mch_setperm(backup, (perm & 0707) | ((perm & 07) << 3)); +#ifdef HAVE_SELINUX -+ mch_copy_sec(backup, fname); ++ mch_copy_sec(fname, backup); +#endif #endif @@ -53,7 +53,7 @@ mch_set_acl(backup, acl); #endif +#ifdef HAVE_SELINUX -+ mch_copy_sec(backup,fname); ++ mch_copy_sec(fname, backup); +#endif break; } diff --git a/vim.spec b/vim.spec index 3473ceb..1c4536a 100644 --- a/vim.spec +++ b/vim.spec @@ -28,7 +28,7 @@ Summary: The VIM editor. Name: vim Version: %{baseversion}.%{patchlevel} -Release: 3 +Release: 4 License: freeware Group: Applications/Editors Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2 @@ -448,6 +448,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Jul 8 2004 Dan Walsh 6.3.011-4 +- Fix selinux patch to handle symlinks + * Wed Jul 07 2004 Karsten Hopp 6.3.011-3 - rebuild with new gcc