fix help file names
This commit is contained in:
parent
a62b8bc8bc
commit
8892520005
10
vim.spec
10
vim.spec
@ -21,7 +21,7 @@ Summary: The VIM editor
|
|||||||
URL: http://www.vim.org/
|
URL: http://www.vim.org/
|
||||||
Name: vim
|
Name: vim
|
||||||
Version: %{baseversion}.%{patchlevel}
|
Version: %{baseversion}.%{patchlevel}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: Vim
|
License: Vim
|
||||||
Group: Applications/Editors
|
Group: Applications/Editors
|
||||||
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2
|
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 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"
|
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/help.txt/vi_help.txt/" os_unix.h ex_cmds.c
|
||||||
perl -pi -e "s/\/etc\/vimrc/\/etc\/virc/" os_unix.h
|
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
|
cp vim minimal-vim
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
|
mv -f os_unix.h.save os_unix.h
|
||||||
|
mv -f ex_cmds.c.save ex_cmds.c
|
||||||
|
|
||||||
%configure --with-features=huge \
|
%configure --with-features=huge \
|
||||||
--enable-pythoninterp=dynamic \
|
--enable-pythoninterp=dynamic \
|
||||||
--enable-perlinterp \
|
--enable-perlinterp \
|
||||||
@ -1514,6 +1519,9 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/icons/hicolor/*/apps/*
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 15 2014 Karsten Hopp <karsten@redhat.com> 7.4.402-2
|
||||||
|
- fix help file names
|
||||||
|
|
||||||
* Wed Aug 13 2014 Karsten Hopp <karsten@redhat.com> 7.4.402-1
|
* Wed Aug 13 2014 Karsten Hopp <karsten@redhat.com> 7.4.402-1
|
||||||
- patchlevel 402
|
- patchlevel 402
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user