fix vim.csh syntax
This commit is contained in:
parent
20a9c5ed58
commit
92c34514b4
12
vim.spec
12
vim.spec
@ -24,7 +24,7 @@ Summary: The VIM editor
|
|||||||
URL: http://www.vim.org/
|
URL: http://www.vim.org/
|
||||||
Name: vim
|
Name: vim
|
||||||
Version: %{baseversion}.%{beta}%{patchlevel}
|
Version: %{baseversion}.%{beta}%{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}%{?beta}%{?CVSDATE}.tar.bz2
|
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}%{?beta}%{?CVSDATE}.tar.bz2
|
||||||
@ -1775,8 +1775,11 @@ if [ -n "\$BASH_VERSION" -o -n "\$KSH_VERSION" -o -n "\$ZSH_VERSION" ]; then
|
|||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
cat >$RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/vim.csh <<EOF
|
cat >$RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/vim.csh <<EOF
|
||||||
[ -x /%{_bindir}/id ] || exit
|
if ( -x /usr/bin/id ) then
|
||||||
[ \`/%{_bindir}/id -u\` -gt 200 ] && alias vi vim
|
if ( "\`/usr/bin/id -u\`" > 100 ) then
|
||||||
|
alias vi vim
|
||||||
|
endif
|
||||||
|
endif
|
||||||
EOF
|
EOF
|
||||||
chmod 0644 $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/*
|
chmod 0644 $RPM_BUILD_ROOT/%{_sysconfdir}/profile.d/*
|
||||||
install -p -m644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/vimrc
|
install -p -m644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/vimrc
|
||||||
@ -2028,6 +2031,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/icons/hicolor/*/apps/*
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 12 2012 Karsten Hopp <karsten@redhat.com> 7.3.682-2
|
||||||
|
- fix vim.csh syntax
|
||||||
|
|
||||||
* Fri Oct 05 2012 Karsten Hopp <karsten@redhat.com> 7.3.682-1
|
* Fri Oct 05 2012 Karsten Hopp <karsten@redhat.com> 7.3.682-1
|
||||||
- patchlevel 682
|
- patchlevel 682
|
||||||
- use --enable-rubyinterp=dynamic and --enable-pythoninterp=dynamic
|
- use --enable-rubyinterp=dynamic and --enable-pythoninterp=dynamic
|
||||||
|
Loading…
Reference in New Issue
Block a user