[vim: 1/2] fix help file names
Karsten Hopp
karsten at fedoraproject.org
Fri Aug 22 09:37:05 UTC 2014
commit 88925200050a07450b9c093678b6613e30f0c176
Author: Karsten Hopp <karsten at redhat.com>
Date: Fri Aug 22 11:32:18 2014 +0200
fix help file names
vim.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/vim.spec b/vim.spec
index 116429c..a5c4d04 100644
--- a/vim.spec
+++ b/vim.spec
@@ -21,7 +21,7 @@ Summary: The VIM editor
URL: http://www.vim.org/
Name: vim
Version: %{baseversion}.%{patchlevel}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: Vim
Group: Applications/Editors
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2
@@ -1033,6 +1033,8 @@ mv -f Makefile.tmp Makefile
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
export CXXFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
+cp -f os_unix.h os_unix.h.save
+cp -f ex_cmds.c ex_cmds.c.save
perl -pi -e "s/help.txt/vi_help.txt/" os_unix.h ex_cmds.c
perl -pi -e "s/\/etc\/vimrc/\/etc\/virc/" os_unix.h
@@ -1053,6 +1055,9 @@ make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/%{vimdir} %{?_smp_mflags}
cp vim minimal-vim
make clean
+mv -f os_unix.h.save os_unix.h
+mv -f ex_cmds.c.save ex_cmds.c
+
%configure --with-features=huge \
--enable-pythoninterp=dynamic \
--enable-perlinterp \
@@ -1514,6 +1519,9 @@ rm -rf %{buildroot}
%{_datadir}/icons/hicolor/*/apps/*
%changelog
+* Fri Aug 15 2014 Karsten Hopp <karsten at redhat.com> 7.4.402-2
+- fix help file names
+
* Wed Aug 13 2014 Karsten Hopp <karsten at redhat.com> 7.4.402-1
- patchlevel 402
More information about the scm-commits
mailing list