vim.spec: Use absolute links for vi
We cannot use relative links for vi, because the true Vi now lives in /usr/libexec.
This commit is contained in:
parent
227a870464
commit
9250c2cc99
10
vim.spec
10
vim.spec
@ -546,11 +546,11 @@ SentUpstream: 2014-05-22
|
||||
EOF
|
||||
|
||||
( cd %{buildroot}
|
||||
ln -sf .%{_libexecdir}/vi .%{_bindir}/rvi
|
||||
ln -sf .%{_libexecdir}/vi .%{_bindir}/rview
|
||||
ln -sf .%{_libexecdir}/vi .%{_bindir}/ex
|
||||
ln -sf .%{_bindir}/vim .%{_bindir}/rvim
|
||||
ln -sf .%{_bindir}/vim .%{_bindir}/vimdiff
|
||||
ln -sf %{_libexecdir}/vi .%{_bindir}/rvi
|
||||
ln -sf %{_libexecdir}/vi .%{_bindir}/rview
|
||||
ln -sf %{_libexecdir}/vi .%{_bindir}/ex
|
||||
ln -sf vim .%{_bindir}/rvim
|
||||
ln -sf vim .%{_bindir}/vimdiff
|
||||
perl -pi -e "s,%{buildroot},," .%{_mandir}/man1/vim.1 .%{_mandir}/man1/vimtutor.1
|
||||
rm -f .%{_mandir}/man1/rvim.1
|
||||
cp -p .%{_mandir}/man1/vim.1 .%{_mandir}/man1/vi.1
|
||||
|
Loading…
Reference in New Issue
Block a user