From a46b9f11f6c107502ec30d24742ee6cc8a31099b Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 14:13:56 +0000 Subject: [PATCH] auto-import changelog data from vim-6.3.011-4.src.rpm Thu Jul 08 2004 Dan Walsh 6.3.011-4 - Fix selinux patch to handle symlinks --- vim-selinux.patch | 4 ++-- vim.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/vim-selinux.patch b/vim-selinux.patch index 7d543a1b..9c5f7bff 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 3473cebf..1c4536a5 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